org.alfresco.repo.rule
Class RuleTransactionListener

java.lang.Object
  extended by org.alfresco.repo.transaction.TransactionListenerAdapter
      extended by org.alfresco.repo.rule.RuleTransactionListener
All Implemented Interfaces:
TransactionListener

public class RuleTransactionListener
extends TransactionListenerAdapter

The rule service transaction listener


Constructor Summary
RuleTransactionListener(RuntimeRuleService ruleService)
          Constructor
 
Method Summary
 void beforeCommit(boolean readOnly)
          Called before a transaction is committed.
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class org.alfresco.repo.transaction.TransactionListenerAdapter
afterCommit, afterRollback, beforeCompletion, flush
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleTransactionListener

public RuleTransactionListener(RuntimeRuleService ruleService)
Constructor

Parameters:
-
Method Detail

beforeCommit

public void beforeCommit(boolean readOnly)
Description copied from class: TransactionListenerAdapter
Called before a transaction is committed.

All transaction resources are still available.

Specified by:
beforeCommit in interface TransactionListener
Overrides:
beforeCommit in class TransactionListenerAdapter
Parameters:
readOnly - true if the transaction is read-only
See Also:
TransactionListener.beforeCommit(boolean)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.