View Javadoc

1   package org.glassbox.executor;
2   
3   /***
4      The executor pattern was published by Eric Crahen.
5      Take a look at his <a href="http://www.cse.buffalo.edu/~crahen/papers/Executor.Pattern.pdf">paper</a>
6      to learn more about it.
7    */
8   public class NullHandler implements Handler {
9       public void beforeRun(Runnable task) {}
10      public void afterRun(Runnable task) {}
11      public void afterFailure(Runnable task, RuntimeException failure) {}
12  }