com.bea.wlai.event
Interface ISuspendableEventGenerator

All Superinterfaces:
IEventGenerator

public interface ISuspendableEventGenerator
extends IEventGenerator

Interface that defines an event generator that can be suspended and resumed. Event generators that implement this interface are capable of suspending their generation of events, and natively holding on to events while they are suspended.


Method Summary
 void resume()
          Resume the generation of events.
 void suspend()
          Suspend (temporarily) the generation of events.
 
Methods inherited from interface com.bea.wlai.event.IEventGenerator
init, refresh, start, stop
 

Method Detail

suspend

public void suspend()
             throws Exception
Suspend (temporarily) the generation of events. Any events that occur on the EIS instance must be preserved either on the EIS instance itself, or within some EventGenerator-specific store.

Throws:
Exception

resume

public void resume()
            throws Exception
Resume the generation of events. Any events that have occurred while this EventGenerator was suspended, should now be delivered as soon as possible to the EventRouter.

Throws:
Exception