06-11-2009 05:33 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<!–
Configuration of a scheduled job that, by default, at 4am removes any deployment attempt nodes
that are older than 180 days.
–>
<beans>
<bean id="avmDeploymentAttemptCleaner" class="org.alfresco.repo.avm.AVMDeploymentAttemptCleaner">
<property name="adminUserName">
<value>admin</value>
</property>
<!– number of days to keep deployment attempts –>
<property name="maxAge">
<value>4</value>
</property>
<property name="nodeService">
<ref bean="NodeService" />
</property>
<property name="transactionService">
<ref bean="TransactionService" />
</property>
<property name="searchService">
<ref bean="SearchService" />
</property>
<property name="importerBootstrap">
<ref bean="spacesBootstrap" />
</property>
</bean>
<bean id="avmDeploymentAttemptCleanup" class="org.alfresco.util.CronTriggerBean">
<property name="jobDetail">
<bean id="avmDeploymentAttemptCleanerDetail" class="org.springframework.scheduling.quartz.JobDetailBean">
<property name="jobClass">
<value>org.alfresco.repo.avm.AVMDeploymentAttemptCleanerJob</value>
</property>
<property name="jobDataAsMap">
<map>
<entry key="deploymentAttemptCleaner">
<ref bean="avmDeploymentAttemptCleaner" />
</entry>
</map>
</property>
</bean>
</property>
<property name="scheduler">
<ref bean="schedulerFactory" />
</property>
<!– trigger at 4:00am each day –>
<property name="cronExpression">
<value>0 0 11 * * ?</value>
</property>
</bean>
</beans>
06-11-2009 05:45 AM
06-11-2009 06:10 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.