Undeploy bundle at shutdown
[lgpl/argeo-commons.git] / server / runtime / org.argeo.server.webextender / META-INF / spring / extender / webextender.xml
index 9df865db12615c34df31639edb6b2493b461999a..2e45128093c88d27b03fc698efe00351734d019c 100644 (file)
@@ -1,11 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:osgi="http://www.springframework.org/schema/osgi"
-       xmlns:p="http://www.springframework.org/schema/p"
+       xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"
        xsi:schemaLocation="http://www.springframework.org/schema/beans   
      http://www.springframework.org/schema/beans/spring-beans.xsd
      http://www.springframework.org/schema/osgi
-     http://www.springframework.org/schema/osgi/spring-osgi.xsd">
+     http://www.springframework.org/schema/osgi/spring-osgi.xsd
+     http://www.springframework.org/schema/util
+     http://www.springframework.org/schema/util/spring-util.xsd">
 
        <!-- we leave 5 mins to Tomcat to start -->
        <osgi:reference id="tomcatServer" interface="org.apache.catalina.Service"
@@ -14,4 +16,6 @@
        <bean id="warDeployer" class="org.argeo.server.webextender.TomcatDeployer"
                p:service-ref="tomcatServer" />
 
+       <util:properties id="extenderProperties"
+               location="osgibundle:/META-INF/spring/extender/extender.properties" />
 </beans>
\ No newline at end of file