Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 1 | <ipojo>
|
| 2 | <!-- Composite Handler -->
|
| 3 | <handler
|
| 4 | classname="org.apache.felix.ipojo.composite.instance.InstanceHandler"
|
| 5 | name="instance" type="composite" architecture="false" level="1">
|
| 6 | <requires filter="(factory.state=1)" field="m_factories"
|
| 7 | optional="true">
|
| 8 | <callback type="bind" method="bindFactory" />
|
| 9 | <callback type="unbind" method="unbindFactory" />
|
| 10 | </requires>
|
| 11 | </handler>
|
| 12 | <handler
|
| 13 | classname="org.apache.felix.ipojo.composite.service.instantiator.ServiceDependencyHandler"
|
| 14 | name="subservice" type="composite" architecture="false">
|
| 15 | </handler>
|
| 16 | <handler
|
| 17 | classname="org.apache.felix.ipojo.composite.service.provides.ProvidedServiceHandler"
|
| 18 | name="provides" type="composite" architecture="false" level="3">
|
| 19 | </handler>
|
| 20 | <handler
|
| 21 | classname="org.apache.felix.ipojo.composite.architecture.ArchitectureHandler"
|
| 22 | name="architecture" type="composite" architecture="false">
|
| 23 | <provides>
|
| 24 | <property field="m_name" name="instance.name" value="" />
|
| 25 | </provides>
|
| 26 | </handler>
|
| 27 | </ipojo> |