org.jboss.messaging.core.impl.tx
Interface TxCallback


public interface TxCallback

Callback interface, called at points in transaction lifecycle

Author:
Tim Fox $Id: TxCallback.java 2796 2007-06-25 22:24:41Z 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

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

beforeCommit

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

beforeRollback

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

afterPrepare

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

afterCommit

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

afterRollback

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


Copyright © 2006 JBoss Inc. All Rights Reserved.