org.omnifaces.util
Class Callback

java.lang.Object
  extended by org.omnifaces.util.Callback

public final class Callback
extends java.lang.Object

Collection of callback interfaces. Useful in (mini) visitor and strategy patterns.

Author:
Bauke Scholtz

Nested Class Summary
static interface Callback.Returning<R>
          Use this if you need a callback which returns a value.
static interface Callback.ReturningWithArgument<R,A>
          Use this if you need a callback which takes an argument and returns a value.
static interface Callback.Void
          Use this if you need a void callback.
static interface Callback.WithArgument<A>
          Use this if you need a callback which takes an argument.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait