org.apache.activemq.util
Interface Callback
public interface Callback
A simple callback object used by the
TransactionTemplate
and org.apache.activemq.util.ExceptionTemplate
objects to provide automatic transactional or exception handling blocks.
- Version:
- $Revision: 1.2 $
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 |
execute
void execute()
throws Exception
- Executes some piece of code within a transaction
performing a commit if there is no exception thrown
else a rollback is performed
- Throws:
Exception
- TODO
Copyright © 2011 Apache Software Foundation. All Rights Reserved.