]> git.argeo.org Git - gpl/argeo-slc.git/blob - modules/org.argeo.slc.agent/META-INF/spring/osgi.xml
[maven-release-plugin] prepare for next development iteration
[gpl/argeo-slc.git] / modules / 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
36 <!-- SERVICES -->
37 <service ref="modulesManager" interface="org.argeo.slc.execution.ExecutionModulesManager" />
38
39 <!-- LABEL -->
40 <beans:bean class="org.argeo.security.core.OsgiModuleLabel">
41 <beans:property name="bundleContext" ref="bundleContext" />
42 </beans:bean>
43
44 <!-- ROLES -->
45 <reference id="userAdminService" interface="org.argeo.security.UserAdminService" />
46
47 <beans:bean class="org.argeo.security.core.SimpleRoleRegistration"
48 init-method="run">
49 <beans:property name="role" value="ROLE_SLC" />
50 <beans:property name="userAdminService" ref="userAdminService" />
51 </beans:bean>
52 </beans:beans>