Clement Escoffier | 5025402 | 2008-05-16 20:33:54 +0000 | [diff] [blame] | 1 | <!--
|
| 2 | Licensed to the Apache Software Foundation (ASF) under one
|
| 3 | or more contributor license agreements. See the NOTICE file
|
| 4 | distributed with this work for additional information
|
| 5 | regarding copyright ownership. The ASF licenses this file
|
| 6 | to you under the Apache License, Version 2.0 (the
|
| 7 | "License"); you may not use this file except in compliance
|
| 8 | with the License. You may obtain a copy of the License at
|
| 9 |
|
| 10 | http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
|
| 12 | Unless required by applicable law or agreed to in writing,
|
| 13 | software distributed under the License is distributed on an
|
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 15 | KIND, either express or implied. See the License for the
|
| 16 | specific language governing permissions and limitations
|
| 17 | under the License.
|
| 18 | -->
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 19 | <ipojo>
|
| 20 | <!-- Composite Handler -->
|
| 21 | <handler
|
| 22 | classname="org.apache.felix.ipojo.composite.instance.InstanceHandler"
|
| 23 | name="instance" type="composite" architecture="false" level="1">
|
| 24 | <requires filter="(factory.state=1)" field="m_factories"
|
| 25 | optional="true">
|
| 26 | <callback type="bind" method="bindFactory" />
|
| 27 | <callback type="unbind" method="unbindFactory" />
|
| 28 | </requires>
|
| 29 | </handler>
|
| 30 | <handler
|
| 31 | classname="org.apache.felix.ipojo.composite.service.instantiator.ServiceDependencyHandler"
|
| 32 | name="subservice" type="composite" architecture="false">
|
| 33 | </handler>
|
| 34 | <handler
|
| 35 | classname="org.apache.felix.ipojo.composite.service.provides.ProvidedServiceHandler"
|
| 36 | name="provides" type="composite" architecture="false" level="3">
|
| 37 | </handler>
|
| 38 | <handler
|
| 39 | classname="org.apache.felix.ipojo.composite.architecture.ArchitectureHandler"
|
| 40 | name="architecture" type="composite" architecture="false">
|
| 41 | <provides>
|
Clement Escoffier | aa52ee3 | 2008-11-14 11:05:57 +0000 | [diff] [blame] | 42 | <property field="m_name" name="architecture.instance"/>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 43 | </provides>
|
| 44 | </handler>
|
| 45 | </ipojo> |