org.nakedobjects.runtime.transaction
Class TransactionalClosureWithReturnAbstract<T>

java.lang.Object
  extended by org.nakedobjects.runtime.transaction.TransactionalClosureWithReturnAbstract<T>
All Implemented Interfaces:
TransactionalClosureWithReturn<T>

public abstract class TransactionalClosureWithReturnAbstract<T>
extends java.lang.Object
implements TransactionalClosureWithReturn<T>

Convenience adapter providing no-op implementations of onSuccess() and onFailure().


Constructor Summary
TransactionalClosureWithReturnAbstract()
           
 
Method Summary
 void onFailure()
          No-op implementation; does nothing.
 void onSuccess()
          No-op implementation; does nothing.
 void preExecute()
          No-op implementation; does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.runtime.transaction.TransactionalClosureWithReturn
execute
 

Constructor Detail

TransactionalClosureWithReturnAbstract

public TransactionalClosureWithReturnAbstract()
Method Detail

preExecute

public void preExecute()
No-op implementation; does nothing.

Specified by:
preExecute in interface TransactionalClosureWithReturn<T>

onSuccess

public void onSuccess()
No-op implementation; does nothing.

Specified by:
onSuccess in interface TransactionalClosureWithReturn<T>

onFailure

public void onFailure()
No-op implementation; does nothing.

Specified by:
onFailure in interface TransactionalClosureWithReturn<T>


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.