ect
in there.
Tim
Date: Tue, 25 Oct 2011 14:40:54 +0200
From: david.fel...@scalagent.com
To: user@aries.apache.org
Subject: Re: Service property assigned with a service reference
If the service is a String, then an exception is raised because
Hi,
There is a class cast exception raised when the ServiceProxyWrapper
object is cast into A.
Regards,
David
Le 25/10/2011 10:22, Felix Meschberger a écrit :
Hi,
Am 24.10.2011 um 10:14 schrieb David Feliot:
Hi,
when defining a service property with a reference as a value, the property i
Hi,
Am 24.10.2011 um 10:14 schrieb David Feliot:
> Hi,
>
> when defining a service property with a reference as a value, the property is
> assigned with a ServiceProxyWrapper (inner class of ReferenceRecipe).
>
> Here is the way it is defined:
>
>
>
>
>
>
>
>
>
>
>
> I would have ex
houldn't end up with an internal blueprint recipe object in there.
Tim
Date: Tue, 25 Oct 2011 14:40:54 +0200
From: david.fel...@scalagent.com
To: user@aries.apache.org
Subject: Re: Service property assigned with a service reference
If the service is a String, then an
dless of whether the reference changes, (no dynamism) because of
what the spec says.
Regards,
Tim
Date: Tue, 25 Oct 2011 10:26:46 +0200
From: david.fel...@scalagent.com
To: user@aries.apache.org
Subject: Re: Service property ass
rk ok. The property
will only be set once though, regardless of whether the reference changes, (no
dynamism) because of what the spec says.
Regards,
Tim
Date: Tue, 25 Oct 2011 10:26:46 +0200
From: david.fel...@scalagent.com
To: user@aries.apache.org
Subject: Re: Service property assigned with a se
My object is a String (a URI) that needs to be dynamically resolved as a
reference () and passed as a service property.
So if I correctly understood what you said, there's no way to do that
with blueprint?
It worked with Aries but it's only by chance, isn't it?
Thanks again,
Regards,
David
L
Hi,
It is allowed to use a component instance as a service property, however the
following rules apply (from 121.6.6 of the enterprise specification)
Each service can optionally be registered with service properties. The
serviceProperties is a list of
MapEntry, see on page 236. This metadata