Component Name Vs Component ClassName in Composite declaration
--------------------------------------------------------------

                 Key: FELIX-991
                 URL: https://issues.apache.org/jira/browse/FELIX-991
             Project: Felix
          Issue Type: Bug
          Components: iPOJO
    Affects Versions: iPOJO-1.2.0
         Environment: Java 1.6, Felix 1.4.0
            Reporter: Jonathan Bardin
            Priority: Minor


It seems that when you declare a composite in the same metadata that this 
component you can use the Component Name for the instance tag (<instance 
component="*Component Name*">) but not when this component is describe is an 
other metadata. In this case, you can only use the Component ClassName , not 
the Component Name.

Sample:
------------------------------

<iPOJO>
        <component name="Component A" className="test.component.A">
         ....
        </component>
         
        <composite name="Composite A" architecture="true">
          <instance component="Component A"/>
          <instance component="test.component.B" /> /// <instance 
component="Component B" /> not work
        </composite>
</iPOJO>

**Other bundle**

<iPOJO>
       <component name="Component B" className="test.component.B">
         ....
        </component>
</iPOJO>

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

Reply via email to