<?xml version="1.0" encoding="UTF-8"?>\r
<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
+ xmlns:util="http://www.springframework.org/schema/util"\r
xsi:schemaLocation="http://www.springframework.org/schema/osgi \r
http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
http://www.springframework.org/schema/beans \r
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
\r
- <!-- <beans:import resource="classpath:org/argeo/slc/osgi/manager.xml" /> -->\r
-\r
<!-- REFERENCES -->\r
<list id="executionContexts" interface="org.argeo.slc.execution.ExecutionContext"\r
cardinality="0..N">\r
<list id="slcExecutionListeners" interface="org.argeo.slc.process.SlcExecutionNotifier"\r
cardinality="0..N" />\r
\r
+ <list id="agents" interface="org.argeo.slc.execution.SlcAgent"\r
+ cardinality="0..N">\r
+ <listener ref="vmAgentFactory" bind-method="register"\r
+ unbind-method="unregister" />\r
+ </list>\r
+\r
<!-- SERVICES -->\r
<service ref="modulesManager" interface="org.argeo.slc.execution.ExecutionModulesManager" />\r
\r
- <service ref="fileSystemManager" interface="org.apache.commons.vfs.FileSystemManager" />\r
-\r
+ <service ref="vmAgentFactory" interface="org.argeo.slc.execution.SlcAgentFactory">\r
+ <service-properties>\r
+ <beans:entry key="argeo.slc.jcr.path" value="/slc:system/slc:agents/slc:vm" />\r
+ </service-properties>\r
+ </service>\r
\r
</beans:beans>
\ No newline at end of file