org.jboss.messaging.core.tx
Interface TxCallback


public interface TxCallback

Callback interface, called at points in transaction lifecycle

Author:
Tim Fox $Id: TxCallback.java 669 2006-02-23 17:45:59Z timfox $

Method Summary
 void afterCommit(boolean onePhase)
           
 void afterPrepare()
           
 void afterRollback(boolean onePhase)
           
 void beforeCommit(boolean onePhase)
           
 void beforePrepare()
           
 void beforeRollback(boolean onePhase)
           
 

Method Detail

beforePrepare

public void beforePrepare()
                   throws java.lang.Exception
Throws:
java.lang.Exception

beforeCommit

public void beforeCommit(boolean onePhase)
                  throws java.lang.Exception
Throws:
java.lang.Exception

beforeRollback

public void beforeRollback(boolean onePhase)
                    throws java.lang.Exception
Throws:
java.lang.Exception

afterPrepare

public void afterPrepare()
                  throws java.lang.Exception
Throws:
java.lang.Exception

afterCommit

public void afterCommit(boolean onePhase)
                 throws java.lang.Exception
Throws:
java.lang.Exception

afterRollback

public void afterRollback(boolean onePhase)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.