org.glassbox.executor
Class NullHandler

java.lang.Object
  extended by org.glassbox.executor.NullHandler
All Implemented Interfaces:
Handler

public class NullHandler
extends java.lang.Object
implements Handler

The executor pattern was published by Eric Crahen. Take a look at his paper to learn more about it.


Constructor Summary
NullHandler()
           
 
Method Summary
 void afterFailure(java.lang.Runnable task, java.lang.RuntimeException failure)
           
 void afterRun(java.lang.Runnable task)
           
 void beforeRun(java.lang.Runnable task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullHandler

public NullHandler()
Method Detail

beforeRun

public void beforeRun(java.lang.Runnable task)
Specified by:
beforeRun in interface Handler

afterRun

public void afterRun(java.lang.Runnable task)
Specified by:
afterRun in interface Handler

afterFailure

public void afterFailure(java.lang.Runnable task,
                         java.lang.RuntimeException failure)
Specified by:
afterFailure in interface Handler


Copyright © 2005-2010 The K-Wf Grid Consortium. All Rights Reserved.