]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.osgi/src/main/resources/org/argeo/slc/osgi/execution.xml
Publish execution flows directly to OSGi
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.osgi / src / main / resources / org / argeo / slc / osgi / execution.xml
index f64b0abfb5d986504c7433c8c6e900bb26491317..af28646e19fdff4bd4740706409007952e94d493 100644 (file)
@@ -1,4 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org> Licensed under 
+       the Apache License, Version 2.0 (the "License"); you may not use this file 
+       except in compliance with the License. You may obtain a copy of the License 
+       at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable 
+       law or agreed to in writing, software distributed under the License is distributed 
+       on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
+       express or implied. See the License for the specific language governing permissions 
+       and limitations under the License. -->
+
 <beans xmlns:osgi="http://www.springframework.org/schema/osgi"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans"
        xsi:schemaLocation="http://www.springframework.org/schema/osgi  
 
        <osgi:service interface="org.argeo.slc.execution.ExecutionContext"
                ref="executionContext" />
-       <osgi:service interface="org.argeo.slc.execution.ExecutionFlowDescriptorConverter"
+       <osgi:service
+               interface="org.argeo.slc.execution.ExecutionFlowDescriptorConverter"
                ref="executionFlowDescriptorConverter" />
 
        <bean class="org.argeo.slc.osgi.MultipleServiceExporterPostProcessor">
                <property name="interfaces">
                        <list>
-                               <value>org.argeo.slc.execution.ExecutionFlow
-                               </value>
+                               <value><![CDATA[org.argeo.slc.execution.ExecutionFlow]]></value>
                        </list>
                </property>
+               <property name="bundleContext" ref="bundleContext" />
+       </bean>
+
+       <bean id="osgiExecutionResources" class="org.argeo.slc.osgi.OsgiExecutionResources">
+               <property name="executionContext" ref="executionContext" />
        </bean>
 </beans>
\ No newline at end of file