You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "David Feliot (Created) (JIRA)" <ji...@apache.org> on 2011/10/26 15:55:32 UTC
[jira] [Created] (ARIES-767) Service property assigned with a
service reference gets a ServiceProxyWrapper
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
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (ARIES-767) Service property assigned with a
service reference gets a ServiceProxyWrapper
Posted by "Timothy Ward (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Ward reassigned ARIES-767:
----------------------------------
Assignee: Timothy Ward
> 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 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (ARIES-767) Service property assigned with a
service reference gets a ServiceProxyWrapper
Posted by "Timothy Ward (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Ward resolved ARIES-767.
--------------------------------
Resolution: Fixed
This was probably fixed in ARIES-821, but now there is a test to prove it.
> 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 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira