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
The rule service transaction listener
- Author:
- Roy Wetherall
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeCommit(boolean readOnly) Called before a transaction is committed.booleaninthashCode()Methods inherited from class org.alfresco.repo.transaction.TransactionListenerAdapter
afterCommit, afterRollback, beforeCompletion, flush
-
Constructor Details
-
RuleTransactionListener
Constructor- Parameters:
ruleService- RuntimeRuleService
-
-
Method Details
-
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:
-
hashCode
public int hashCode() -
equals
-