Package org.alfresco.repo.rule
Class RuleTransactionListener
- java.lang.Object
-
- org.alfresco.repo.transaction.TransactionListenerAdapter
-
- org.alfresco.repo.rule.RuleTransactionListener
-
- All Implemented Interfaces:
TransactionListener,org.alfresco.util.transaction.TransactionListener
public class RuleTransactionListener extends TransactionListenerAdapter
The rule service transaction listener- Author:
- Roy Wetherall
-
-
Constructor Summary
Constructors Constructor Description RuleTransactionListener(RuntimeRuleService ruleService)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeCommit(boolean readOnly)Called before a transaction is committed.booleanequals(java.lang.Object obj)inthashCode()-
Methods inherited from class org.alfresco.repo.transaction.TransactionListenerAdapter
afterCommit, afterRollback, beforeCompletion, flush
-
-
-
-
Constructor Detail
-
RuleTransactionListener
public RuleTransactionListener(RuntimeRuleService ruleService)
Constructor- Parameters:
ruleService- RuntimeRuleService
-
-
Method Detail
-
beforeCommit
public void beforeCommit(boolean readOnly)
Description copied from class:TransactionListenerAdapterCalled before a transaction is committed.All transaction resources are still available.
- Specified by:
beforeCommitin interfaceTransactionListener- Specified by:
beforeCommitin interfaceorg.alfresco.util.transaction.TransactionListener- Overrides:
beforeCommitin classTransactionListenerAdapter- Parameters:
readOnly- true if the transaction is read-only- See Also:
TransactionListener.beforeCommit(boolean)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
-