You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Valentin Mahrwald (JIRA)" <ji...@apache.org> on 2009/11/30 11:05:20 UTC

[jira] Created: (ARIES-56) Bean factory-ref and service reference bean are not working together

Bean factory-ref and service reference bean are not working together
--------------------------------------------------------------------

                 Key: ARIES-56
                 URL: https://issues.apache.org/jira/browse/ARIES-56
             Project: Aries
          Issue Type: Bug
          Components: Blueprint
            Reporter: Valentin Mahrwald


Using a blueprint xml like:

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
	<bean id="product" factory-ref="factory" factory-method="create" init-method="run" />
	<reference id="factory" interface="test.pack.Factory" />
</blueprint>

I get a ComponentDefinitionException complaining that ReferenceRecipe.ServiceProxyWrapper does not have the create method. The problem seems to be that ServiceProxyWrappers are not unwrapped when creating beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (ARIES-56) Bean factory-ref and service reference bean are not working together

Posted by "Valentin Mahrwald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on ARIES-56 started by Valentin Mahrwald.

> Bean factory-ref and service reference bean are not working together
> --------------------------------------------------------------------
>
>                 Key: ARIES-56
>                 URL: https://issues.apache.org/jira/browse/ARIES-56
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>            Reporter: Valentin Mahrwald
>            Assignee: Valentin Mahrwald
>
> Using a blueprint xml like:
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
> 	<bean id="product" factory-ref="factory" factory-method="create" init-method="run" />
> 	<reference id="factory" interface="test.pack.Factory" />
> </blueprint>
> I get a ComponentDefinitionException complaining that ReferenceRecipe.ServiceProxyWrapper does not have the create method. The problem seems to be that ServiceProxyWrappers are not unwrapped when creating beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ARIES-56) Bean factory-ref and service reference bean are not working together

Posted by "Jeremy Hughes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Hughes updated ARIES-56:
-------------------------------

    Fix Version/s: 0.1

> Bean factory-ref and service reference bean are not working together
> --------------------------------------------------------------------
>
>                 Key: ARIES-56
>                 URL: https://issues.apache.org/jira/browse/ARIES-56
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>            Reporter: Valentin Mahrwald
>            Assignee: Valentin Mahrwald
>             Fix For: 0.1
>
>
> Using a blueprint xml like:
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
> 	<bean id="product" factory-ref="factory" factory-method="create" init-method="run" />
> 	<reference id="factory" interface="test.pack.Factory" />
> </blueprint>
> I get a ComponentDefinitionException complaining that ReferenceRecipe.ServiceProxyWrapper does not have the create method. The problem seems to be that ServiceProxyWrappers are not unwrapped when creating beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (ARIES-56) Bean factory-ref and service reference bean are not working together

Posted by "Valentin Mahrwald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentin Mahrwald reassigned ARIES-56:
--------------------------------------

    Assignee: Valentin Mahrwald

> Bean factory-ref and service reference bean are not working together
> --------------------------------------------------------------------
>
>                 Key: ARIES-56
>                 URL: https://issues.apache.org/jira/browse/ARIES-56
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>            Reporter: Valentin Mahrwald
>            Assignee: Valentin Mahrwald
>
> Using a blueprint xml like:
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
> 	<bean id="product" factory-ref="factory" factory-method="create" init-method="run" />
> 	<reference id="factory" interface="test.pack.Factory" />
> </blueprint>
> I get a ComponentDefinitionException complaining that ReferenceRecipe.ServiceProxyWrapper does not have the create method. The problem seems to be that ServiceProxyWrappers are not unwrapped when creating beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (ARIES-56) Bean factory-ref and service reference bean are not working together

Posted by "Valentin Mahrwald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentin Mahrwald resolved ARIES-56.
------------------------------------

    Resolution: Fixed

> Bean factory-ref and service reference bean are not working together
> --------------------------------------------------------------------
>
>                 Key: ARIES-56
>                 URL: https://issues.apache.org/jira/browse/ARIES-56
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>            Reporter: Valentin Mahrwald
>            Assignee: Valentin Mahrwald
>
> Using a blueprint xml like:
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
> 	<bean id="product" factory-ref="factory" factory-method="create" init-method="run" />
> 	<reference id="factory" interface="test.pack.Factory" />
> </blueprint>
> I get a ComponentDefinitionException complaining that ReferenceRecipe.ServiceProxyWrapper does not have the create method. The problem seems to be that ServiceProxyWrappers are not unwrapped when creating beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (ARIES-56) Bean factory-ref and service reference bean are not working together

Posted by "Valentin Mahrwald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentin Mahrwald closed ARIES-56.
----------------------------------


> Bean factory-ref and service reference bean are not working together
> --------------------------------------------------------------------
>
>                 Key: ARIES-56
>                 URL: https://issues.apache.org/jira/browse/ARIES-56
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>            Reporter: Valentin Mahrwald
>            Assignee: Valentin Mahrwald
>
> Using a blueprint xml like:
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
> 	<bean id="product" factory-ref="factory" factory-method="create" init-method="run" />
> 	<reference id="factory" interface="test.pack.Factory" />
> </blueprint>
> I get a ComponentDefinitionException complaining that ReferenceRecipe.ServiceProxyWrapper does not have the create method. The problem seems to be that ServiceProxyWrappers are not unwrapped when creating beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.