blob: 263ef340b9eb771d084d6d485dafe542b060036b [file] [log] [blame]
Clement Escoffier50254022008-05-16 20:33:54 +00001<!--
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 Escoffierce0e1e52008-03-28 15:33:36 +000019<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 Escoffiere5abeba2008-07-08 16:45:41 +000042 <property field="m_name" name="architecture.instance" value="" />
Clement Escoffierce0e1e52008-03-28 15:33:36 +000043 </provides>
44 </handler>
45</ipojo>