Subscribe to updates before and after processing instances of {@link EventHandler.EventType}. Currently only one listener per event type.
@param type Type of event we're registering listener for
@param listener The listener to run.
Registers a listener on all cluster nodes.
@param serviceName service name
@param topic topic name
@param listener listener instance
@return event registration
Adds a listener to the notification service. No guarantee is made that listeners will be notified in the order they were added.
@param cacheEventListener
@return true if the listener is being added and was not already added
Subscribe to updates before and after processing instances of {@link EventHandler.EventType}. Currently only one listener per event type.
@param type Type of event we're registering listener for
@param listener The listener to run.
@param listener The listener.
@param document The document to listen to.
@throws ObservationException if the listener is already registered for this document.
Register a listener for records. These can be for all records or just a subset.
@param sids an array of Record.sid values identifying the recordsthe listener will work with. Alternatively if this is "null" then all records are passed.
Register a POIFSReaderListener for all documents
@param listener the listener to be registered
@exception NullPointerException if listener is null
@exception IllegalStateException if read() has already beencalled
Register a listener that listens to state changes in this UnitOfWork. This typically allows components to clean up resources, such as locks, when a UnitOfWork is committed or rolled back. If a UnitOfWork is partially committed, only the listeners bound to one of the committed aggregates is notified.
@param listener The listener to notify when the UnitOfWork's state changes.
Subscribe a new {@link ReplicantListener listener } for replicant changes
@param key Name of the replicant, must be identical cluster-wide for all related replicants
@param subscriber The subscribing {@link ReplicantListener}
Register a listener
@param name the name of the object to register on
@param listener the listener
@param filter the filter
@param handback the handback object
@throws Throwable for any error
Registers an intenal server event listener. The listener will be notified when a particular event happens within the server. Typically this is not an event in the same sense as an MuleEvent (although there is nothing stopping the implementation of this class triggering listeners when a MuleEvent is received). The types of notifications fired is entirely defined by the implementation of this class
@param l the listener to register
Registers a MessageProcessor listener which will listen to new message received from a specific transport channel and then processed by the endpoint. Only a single listener can be registered for a given endpoints. Attempts to register a listener when one is already registered will fail.
@param endpoint defines both the transport and channel/resource uri as wellthe processing (transformation/filtering) that should occur when the endpoint processes a new message from the transport receiver.
@param listener the listener that will be invoked when messages are receivedon the endpoint.
@param flowConstruct reference to the flow construct that the listener is partof for use as context for logging, notifications and error handling.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.