org.nakedobjects.runtime.transaction
Class TransactionalClosureAbstract

java.lang.Object
  extended by org.nakedobjects.runtime.transaction.TransactionalClosureAbstract
All Implemented Interfaces:
TransactionalClosure

public abstract class TransactionalClosureAbstract
extends java.lang.Object
implements TransactionalClosure

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


Constructor Summary
TransactionalClosureAbstract()
           
 
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.TransactionalClosure
execute
 

Constructor Detail

TransactionalClosureAbstract

public TransactionalClosureAbstract()
Method Detail

preExecute

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

Specified by:
preExecute in interface TransactionalClosure

onSuccess

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

Specified by:
onSuccess in interface TransactionalClosure

onFailure

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

Specified by:
onFailure in interface TransactionalClosure


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