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.codehaus.activemq.util
Interface Callback

public interface Callback

A simple callback object used by the `TransactionTemplate` and `ExceptionTemplate` objects to provide automatic transactional or exception handling blocks.

Version:
  $Revision: 1.1 $

Method Summary
`void` | `execute()` Executes some piece of code within a transaction performing a commit if there is no exception thrown else a rollback is performed

Method Detail

### execute

    public void execute()
                 throws Throwable

  Executes some piece of code within a transaction performing a commit if there is no exception thrown else a rollback is performed

  Throws:
    `Throwable`

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 © 2004 Protique, Ltd.. All Rights Reserved.