Transaction-level Policies. Modify AuditableAspect and ContentHits example to make use of transaction policies so they only trigger once.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2652 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2006-04-12 16:40:36 +00:00
parent 0330f2cdb7
commit b91897f77a
2 changed files with 0 additions and 12 deletions

View File

@@ -776,9 +776,6 @@
<property name="authenticationService"> <property name="authenticationService">
<ref bean="authenticationService" /> <ref bean="authenticationService" />
</property> </property>
<property name="policyBehaviourFilter">
<ref bean="policyBehaviourFilter" />
</property>
</bean> </bean>
<!-- Referenceable --> <!-- Referenceable -->

View File

@@ -56,7 +56,6 @@ public class AuditableAspect
private NodeService nodeService; private NodeService nodeService;
private AuthenticationService authenticationService; private AuthenticationService authenticationService;
private PolicyComponent policyComponent; private PolicyComponent policyComponent;
private BehaviourFilter policyBehaviourFilter;
// Behaviours // Behaviours
private Behaviour onCreateAudit; private Behaviour onCreateAudit;
@@ -80,14 +79,6 @@ public class AuditableAspect
this.policyComponent = policyComponent; this.policyComponent = policyComponent;
} }
/**
* @param policyBehaviourFilter the policy behaviour filter
*/
public void setPolicyBehaviourFilter(BehaviourFilter policyBehaviourFilter)
{
this.policyBehaviourFilter = policyBehaviourFilter;
}
/** /**
* @param authenticationService the authentication service * @param authenticationService the authentication service
*/ */