[ 
https://issues.apache.org/jira/browse/ARIES-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominik Przybysz closed ARIES-767.
----------------------------------

Closing issues of released artifacts

> Service property assigned with a service reference gets a ServiceProxyWrapper
> -----------------------------------------------------------------------------
>
>                 Key: ARIES-767
>                 URL: https://issues.apache.org/jira/browse/ARIES-767
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-0.3.1
>            Reporter: David Feliot
>            Assignee: Timothy James Ward
>            Priority: Minor
>             Fix For: blueprint-0.3.1
>
>
> 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:
> <service ref="..." interface="...">
>   <service-properties>
>     <entry key="Property1">
>       <ref component-id="serviceRef"/>
>     </entry>
>   </service-properties>
> </service>
> <reference id="serviceRef" interface="A" />
> I would have expected the service property "Property1" to be assigned with an 
> instance of "A" instead of a ServiceProxyWrapper. However I could get the 
> instance of "A" by calling the method 'convert' and passing a ReifiedType.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to