Undeploy bundle at shutdown
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 1 Mar 2011 20:12:29 +0000 (20:12 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 1 Mar 2011 20:12:29 +0000 (20:12 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@4257 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

server/runtime/org.argeo.server.webextender/META-INF/spring/extender/extender.properties [new file with mode: 0644]
server/runtime/org.argeo.server.webextender/META-INF/spring/extender/webextender.xml

diff --git a/server/runtime/org.argeo.server.webextender/META-INF/spring/extender/extender.properties b/server/runtime/org.argeo.server.webextender/META-INF/spring/extender/extender.properties
new file mode 100644 (file)
index 0000000..4dde802
--- /dev/null
@@ -0,0 +1 @@
+undeploy.wars.at.shutdown=true
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