Files
alfresco-community-repo/config/alfresco/audit-services-context.xml
Derek Hulley d05655f3c7 Merged V2.2 to HEAD
8219: Fix audit date behaviour, auto truncate all values to fit, fix retrying transaction use
         AR-1923   AWC-1637


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8486 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-03-10 16:42:56 +00:00

70 lines
2.3 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!-- Base audit service - non TX -->
<bean id="auditService" class="org.alfresco.repo.audit.AuditServiceImpl">
<property name="auditComponent">
<ref bean="auditComponent"/>
</property>
</bean>
<!-- Audit component -->
<bean id="auditComponent" class="org.alfresco.repo.audit.AuditComponentImpl">
<property name="publicServiceIdentifier">
<ref bean="publicServiceIdentifier"/>
</property>
<property name="auditDAO">
<ref bean="auditDao"/>
</property>
<property name="transactionService">
<ref bean="transactionService"/>
</property>
<property name="auditConfiguration">
<ref bean="auditConfiguration"/>
</property>
<property name="auditModel">
<ref bean="auditModel"/>
</property>
</bean>
<!-- Public service idntifier -->
<bean id="publicServiceIdentifier" class="org.alfresco.repo.audit.PublicServiceIdentifierImpl"/>
<!-- The configuration of the audit model -->
<bean id="auditConfiguration" class="org.alfresco.repo.audit.AuditConfigurationImpl">
<property name="config">
<value>alfresco/auditConfig.xml</value>
</property>
</bean>
<!-- The content store in which to store audit information -->
<bean id="auditFileContentStore" class="org.alfresco.repo.content.filestore.FileContentStore">
<constructor-arg>
<value>${dir.auditcontentstore}</value>
</constructor-arg>
</bean>
<!-- The audit model -->
<bean id="auditModel" class="org.alfresco.repo.audit.model.AuditEntry">
<property name="auditConfiguration">
<ref bean="auditConfiguration"/>
</property>
<property name="namespacePrefixResolver">
<ref bean="namespaceService"/>
</property>
<property name="publicServiceIdentifier">
<ref bean="publicServiceIdentifier"/>
</property>
</bean>
</beans>