]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.agent/META-INF/spring/osgi.xml
Prepare release
[gpl/argeo-slc.git] / org.argeo.slc.agent / META-INF / spring / osgi.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans:beans xmlns="http://www.springframework.org/schema/osgi"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
4 xmlns:util="http://www.springframework.org/schema/util"
5 xsi:schemaLocation="http://www.springframework.org/schema/osgi
6 http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd
7 http://www.springframework.org/schema/beans
8 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
9
10 <!-- REFERENCES -->
11 <!-- No <set> so that the equals methods are not called -->
12 <list id="executionContexts" interface="org.argeo.slc.execution.ExecutionContext"
13 cardinality="0..N">
14 <listener ref="modulesManager" bind-method="register"
15 unbind-method="unregister" />
16 </list>
17
18 <list id="executionFlows" interface="org.argeo.slc.execution.ExecutionFlow"
19 cardinality="0..N">
20 <listener ref="modulesManager" bind-method="register"
21 unbind-method="unregister" />
22 </list>
23
24 <list id="executionModulesListeners" interface="org.argeo.slc.execution.ExecutionModulesListener"
25 cardinality="0..N">
26 <listener ref="modulesManager" bind-method="register"
27 unbind-method="unregister" />
28 </list>
29
30 <list id="executionFlowDescriptorConverters"
31 interface="org.argeo.slc.execution.ExecutionFlowDescriptorConverter"
32 cardinality="0..N">
33 <listener ref="modulesManager" />
34 </list>
35 <reference id="userTransaction" interface="javax.transaction.UserTransaction" />
36 <reference id="userAdmin" interface="org.osgi.service.useradmin.UserAdmin" />
37
38 <!-- SERVICES -->
39 <service ref="modulesManager" interface="org.argeo.slc.execution.ExecutionModulesManager" />
40
41 <!-- LABEL -->
42 <beans:bean class="org.argeo.cms.spring.osgi.OsgiModuleLabel">
43 <beans:property name="bundleContext" ref="bundleContext" />
44 </beans:bean>
45
46 <!-- ROLES -->
47 <!-- <reference id="userAdminService" interface="org.argeo.security.UserAdminService" /> -->
48
49 <beans:bean class="org.argeo.cms.spring.SimpleRoleRegistration"
50 init-method="run">
51 <beans:property name="role" value="org.argeo.slc.user" />
52 <beans:property name="userAdmin" ref="userAdmin" />
53 <beans:property name="userTransaction" ref="userTransaction" />
54 <!-- <beans:property name="userAdminService" ref="userAdminService" /> -->
55 </beans:bean>
56 </beans:beans>