Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

public interface TxCallback

Callback interface, called at points in transaction lifecycle

Author:
  Tim Fox $Id: TxCallback.java,v 1.4 2006/02/23 17:45:58 timfox Exp $

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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 JBoss Inc. All Rights Reserved.