]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Add a meta bundle for SLC to be used with RAP
authorBruno Sinou <bsinou@argeo.org>
Mon, 13 Dec 2010 15:20:34 +0000 (15:20 +0000)
committerBruno Sinou <bsinou@argeo.org>
Mon, 13 Dec 2010 15:20:34 +0000 (15:20 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@3971 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

modules/server/org.argeo.slc.server.main.rap/META-INF/MANIFEST.MF [new file with mode: 0644]
modules/server/org.argeo.slc.server.main.rap/META-INF/spring/eclipseUpdateSite.xml [new file with mode: 0644]
modules/server/org.argeo.slc.server.main.rap/META-INF/spring/main.xml [new file with mode: 0644]
modules/server/org.argeo.slc.server.main.rap/META-INF/spring/manager.xml [new file with mode: 0644]
modules/server/org.argeo.slc.server.main.rap/META-INF/spring/osgi.xml [new file with mode: 0644]

diff --git a/modules/server/org.argeo.slc.server.main.rap/META-INF/MANIFEST.MF b/modules/server/org.argeo.slc.server.main.rap/META-INF/MANIFEST.MF
new file mode 100644 (file)
index 0000000..498c5f5
--- /dev/null
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-Name: SLC Server Main for RAP applications
+Bundle-Description: List all Slc components needed  by SLC to run with a RAP UI.
+Bundle-SymbolicName: org.argeo.slc.server.main.rap
+Bundle-Version: 0.13.0.SNAPSHOT
+Require-Bundle: org.argeo.slc.specs,
+ org.argeo.slc.support.equinox
+Import-Package: org.argeo.slc.build,
+ org.argeo.slc.osgi.build
diff --git a/modules/server/org.argeo.slc.server.main.rap/META-INF/spring/eclipseUpdateSite.xml b/modules/server/org.argeo.slc.server.main.rap/META-INF/spring/eclipseUpdateSite.xml
new file mode 100644 (file)
index 0000000..6e8775c
--- /dev/null
@@ -0,0 +1,20 @@
+<?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:aop="http://www.springframework.org/schema/aop"
+       xsi:schemaLocation="
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd 
+       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
+
+       <bean id="eclipseUpdateSite" class="org.argeo.slc.osgi.build.EclipseUpdateSite">
+               <property name="features">
+                       <list>
+                               <bean class="org.argeo.slc.osgi.build.EclipseUpdateSiteFeature">
+                                       <property name="name" value="org.argeo.slc.dep.agent" />
+                               </bean>
+                               <bean class="org.argeo.slc.osgi.build.EclipseUpdateSiteFeature">
+                                       <property name="name" value="org.argeo.slc.dep.detached" />
+                               </bean>
+                       </list>
+               </property>
+       </bean>
+</beans>
\ No newline at end of file
diff --git a/modules/server/org.argeo.slc.server.main.rap/META-INF/spring/main.xml b/modules/server/org.argeo.slc.server.main.rap/META-INF/spring/main.xml
new file mode 100644 (file)
index 0000000..9196a23
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
+       xsi:schemaLocation="http://www.springframework.org/schema/osgi  
+       http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd
+       http://www.springframework.org/schema/beans   
+       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+       <!-- Security -->
+       <bundle id="security.ldap" symbolic-name="org.argeo.security.manager.ldap"
+               action="start" />
+       <bundle id="security.services" symbolic-name="org.argeo.security.services"
+               action="start" />
+
+       <!-- Servers -->
+       <bundle id="activemq.broker" symbolic-name="org.argeo.server.activemq.broker"
+               action="start" />
+
+       <!-- SLC Middleware -->
+       <bundle id="castor" symbolic-name="org.argeo.slc.server.castor"
+               action="start" />
+       <bundle id="activemq" symbolic-name="org.argeo.slc.server.activemq"
+               action="start" />
+       <bundle id="agentProxy" symbolic-name="org.argeo.slc.server.agentproxy"
+               action="start" />
+       <bundle id="services" symbolic-name="org.argeo.slc.server.services"
+               action="start" />
+       <bundle id="jms" symbolic-name="org.argeo.slc.server.jms"
+               action="start" />
+
+       <!-- Web -->
+       <bundle id="spring.osgi.web.extender" symbolic-name="org.springframework.osgi.web.extender"
+               action="start" />
+       <bundle id="catalina" symbolic-name="org.argeo.dep.osgi.catalina.start"
+               action="start" />
+
+       <!-- Web app start order is important! Security should be first -->
+       <bundle id="security.webapp" symbolic-name="org.argeo.security.webapp"
+               action="start" />
+       <!-- <bundle id="slc.webapp" symbolic-name="org.argeo.slc.webapp" action="start" 
+               /> -->
+
+</beans:beans>
\ No newline at end of file
diff --git a/modules/server/org.argeo.slc.server.main.rap/META-INF/spring/manager.xml b/modules/server/org.argeo.slc.server.main.rap/META-INF/spring/manager.xml
new file mode 100644 (file)
index 0000000..bf342bb
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+       <bean id="dynamicRuntime" class="org.argeo.slc.equinox.EquinoxRuntime" />
+       <bean id="modularDistribution" class="org.argeo.slc.osgi.build.OsgiRuntimeModularDistribution">
+               <property name="eclipseUpdateSite" ref="eclipseUpdateSite" />
+       </bean>
+</beans>
\ No newline at end of file
diff --git a/modules/server/org.argeo.slc.server.main.rap/META-INF/spring/osgi.xml b/modules/server/org.argeo.slc.server.main.rap/META-INF/spring/osgi.xml
new file mode 100644 (file)
index 0000000..50237f4
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
+       xsi:schemaLocation="http://www.springframework.org/schema/osgi  
+       http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd
+       http://www.springframework.org/schema/beans   
+       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+       <service ref="dynamicRuntime" interface="org.argeo.slc.deploy.DynamicRuntime" />
+       <service ref="modularDistribution" interface="org.argeo.slc.build.ModularDistribution" />
+</beans:beans>
\ No newline at end of file