Files
alfresco-community-repo/config/alfresco/projects-context.xml

27 lines
1.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'>
<!-- Project bean definitions -->
<beans>
<!-- Project behaviour registration -->
<bean id="emailserver_aliasable_onAddAspect" class="org.alfresco.repo.policy.registration.ClassPolicyRegistration" parent="policyRegistration">
<property name="policyName">
<value>{http://www.alfresco.org}onAddAspect</value>
</property>
<property name="className">
<value>{http://www.alfresco.org/model/emailserver/1.0}aliasable</value>
</property>
<property name="behaviour">
<bean class="org.alfresco.repo.jscript.ScriptBehaviour" parent="scriptBehaviour">
<property name="notificationFrequency"><value>TRANSACTION_COMMIT</value></property>
<property name="location">
<bean class="org.alfresco.repo.jscript.ClasspathScriptLocation">
<constructor-arg>
<value>alfresco/module/projects/script/onAddAspect_emailserver_aliasable.js</value>
</constructor-arg>
</bean>
</property>
</bean>
</property>
</bean>
</beans>