Class ExecutionContextImpl.NullCallbackHandler

  • All Implemented Interfaces:
    CallbackHandler
    Enclosing class:
    ExecutionContextImpl

    public static class ExecutionContextImpl.NullCallbackHandler
    extends Object
    implements CallbackHandler
    Callback handler that does nothing. Provided for the case where the user wants to do bulk operations and isn't interested in callbacks.
    • Constructor Detail

      • NullCallbackHandler

        public NullCallbackHandler()
    • Method Detail

      • addListener

        public void addListener​(Object listener,
                                Class[] classes)
        Description copied from interface: CallbackHandler
        Adds a new listener to this handler.
        Specified by:
        addListener in interface CallbackHandler
        Parameters:
        listener - the listener instance
        classes - the persistent classes which events are fired for the listener
      • removeListener

        public void removeListener​(Object listener)
        Description copied from interface: CallbackHandler
        Remove a listener for this handler.
        Specified by:
        removeListener in interface CallbackHandler
        Parameters:
        listener - the listener instance