First cut of content expiration support

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5674 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2007-05-14 19:40:10 +00:00
parent 652bed012c
commit e637299ed8
13 changed files with 2322 additions and 1485 deletions

View File

@@ -206,4 +206,29 @@
<value>1</value>
</property>
</bean>
<!-- Job to scan for expired content in website staging areas -->
<bean id="avmExpiredContentTrigger" class="org.alfresco.util.CronTriggerBean">
<property name="jobDetail">
<bean id="avmExpiredContentJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean">
<property name="jobClass">
<value>org.alfresco.repo.avm.AVMExpiredContentJob</value>
</property>
<property name="jobDataAsMap">
<map>
<entry key="expiredContentProcessor">
<ref bean="avmExpiredContentProcessor" />
</entry>
</map>
</property>
</bean>
</property>
<property name="scheduler">
<ref bean="schedulerFactory" />
</property>
<!-- trigger at 3:30am each day -->
<property name="cronExpression">
<value>0 30 3 * * ?</value>
</property>
</bean>
</beans>