All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.ars.conf.ars-module-people.xml Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="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-3.2.xsd">

	<!-- People module configuration -->
	
	<!-- User Repository -->
 	<bean class="ars.module.people.repository.StandardUserRepository"/>
 	
 	<!-- Role Repository -->
	<bean class="ars.module.people.repository.StandardRoleRepository"/>
	
	<!-- Group Repository -->
	<bean class="ars.module.people.repository.StandardGroupRepository"/>
	
	<!-- Logined Repository -->
	<bean class="ars.module.people.repository.StandardLoginedRepository"/>
	
	<!-- User Service -->
	<bean class="ars.module.people.service.StandardUserService"/>
	
	<!-- Role Service -->
	<bean class="ars.module.people.service.StandardRoleService"/>
	
	<!-- Group Service -->
	<bean class="ars.module.people.service.StandardGroupService"/>
	
	<!-- Owner Service -->
	<bean class="ars.module.people.service.StandardOwnerService"/>
	
	<!-- Logined Service -->
	<bean class="ars.module.people.service.StandardLoginedService"/>
	
	<!-- Auth Service -->
	<bean class="ars.module.people.service.StandardAuthService"/>
	
	<!-- Register user static file upload/download api -->
	<bean class="ars.spring.api.AnnotationMethodApiRegister">
		<constructor-arg value="people/user/static"/>
		<constructor-arg>
			<bean class="ars.file.StandardDocumentManager">
				<property name="operator">
					<bean class="ars.file.disk.DiskOperator">
						<property name="workingDirectory" value="../../static/upload/user"/>
					</bean>
				</property>
				<property name="nameGenerator">
					<bean class="ars.file.RandomNameGenerator"/>
				</property>
			</bean>
		</constructor-arg>
		<constructor-arg value="upload,download"/>
	</bean>
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy