]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.osgi/src/main/resources/org/argeo/slc/osgi/execution.xml
Add callBackHandler by default in SLC execution modules.
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.osgi / src / main / resources / org / argeo / slc / osgi / execution.xml
index 67b02b37eb184ffcad6ea4a754d92a7c3df80d90..cc0aac0697aa7275596558709310e7ebf401c879 100644 (file)
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2007-2012 Argeo GmbH 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. -->
+<!-- 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  
                interface="org.argeo.slc.execution.ExecutionFlowDescriptorConverter"
                ref="executionFlowDescriptorConverter" />
 
+       <osgi:reference id="callbackHandler"
+               interface="javax.security.auth.callback.CallbackHandler" cardinality="0..1" />
+
        <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">