summaryrefslogtreecommitdiffstats
path: root/idrop-web/grails-app/conf/spring/resources.xml
blob: 4a6634f3bbce1f4bc4a4e0dc9d4aea4b4d2e450b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>

<beans:beans xmlns="http://www.springframework.org/schema/security"
	xmlns:beans="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
                        http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd">

	<beans:bean id="irodsConnectionManager"
		class="org.irods.jargon.core.connection.IRODSSimpleProtocolManager"
		factory-method="instance" init-method="initialize" destroy-method="destroy">
	</beans:bean>

	<beans:bean id="irodsSession"
		class="org.irods.jargon.core.connection.IRODSSession" factory-method="instance">
		<beans:constructor-arg
			type="org.irods.jargon.core.connection.IRODSProtocolManager" ref="irodsConnectionManager" />
	</beans:bean>

	<beans:bean id="irodsAccessObjectFactory"
		class="org.irods.jargon.core.pub.IRODSAccessObjectFactoryImpl">
		<beans:constructor-arg ref="irodsSession"></beans:constructor-arg>
	</beans:bean>
	
	<beans:bean id="taggingServiceFactory"
		class="org.irods.jargon.usertagging.tags.TaggingServiceFactoryImpl">
		<beans:constructor-arg ref="irodsAccessObjectFactory"></beans:constructor-arg>
	</beans:bean>
	
	<beans:bean id="ticketServiceFactory"
		class="org.irods.jargon.ticket.TicketServiceFactoryImpl">
		<beans:constructor-arg ref="irodsAccessObjectFactory"></beans:constructor-arg>
	</beans:bean>

	<beans:bean id="imageServiceFactory"
		class="org.irods.jargon.datautils.image.ImageServiceFactoryImpl">
		<beans:constructor-arg ref="irodsAccessObjectFactory"></beans:constructor-arg>
	</beans:bean>

</beans:beans>