]>
git.argeo.org Git - gpl/argeo-slc.git/blob - spring/jcr.xml
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans xmlns=
"http://www.springframework.org/schema/beans"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
4 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
6 <bean id=
"agent" class=
"org.argeo.slc.jcr.execution.JcrAgent"
7 init-method=
"init" destroy-method=
"destroy">
8 <property name=
"defaultModulePrefix" value=
"org.argeo.slc.lib" />
9 <property name=
"repository" ref=
"repository" />
10 <property name=
"modulesManager" ref=
"modulesManager" />
13 <bean id=
"agentCli" class=
"org.argeo.slc.core.execution.DefaultAgentCli">
14 <property name=
"agent" ref=
"agent" />
15 <property name=
"authenticationManager" ref=
"authenticationManager" />
18 <bean id=
"executionModulesListener" class=
"org.argeo.slc.jcr.execution.JcrExecutionModulesListener"
19 init-method=
"init" destroy-method=
"destroy">
20 <property name=
"agent" ref=
"agent" />
21 <property name=
"repository" ref=
"repository" />
22 <property name=
"modulesManager" ref=
"modulesManager" />
25 <!-- Thread-bound session is used when multiple threads with various authentication
26 will call the component -->
27 <bean id=
"session" class=
"org.argeo.security.jcr.SecureThreadBoundSession">
28 <property name=
"repository" ref=
"repository" />
31 <bean id=
"attachmentUploader" class=
"org.argeo.slc.jcr.execution.JcrAttachmentUploader">
32 <property name=
"session" ref=
"session" />
37 class=
"org.argeo.security.core.AuthenticatedApplicationContextInitialization">
38 <property name=
"authenticationManager" ref=
"authenticationManager" />
42 <bean name=
"fileSystemManager" class=
"org.apache.commons.vfs.impl.StandardFileSystemManager"
43 init-method=
"init" destroy-method=
"close" />