com.bea.wlevs.ede.api
Interface REventSink


public interface REventSink
extends EventSink

An event sink that also receives remove events (REvents) Remove events are events that are no longer live (old), and have been removed from the source. A REventSink is called back for 'onREvent', it is NEVER called back for 'onEvent'. REvents are only propagated by streams. A processor does not propagate a REvent from an up-stream stage.

See Also:
EventSink

Method Summary
 void onREvent(java.util.List newEvents, java.util.List oldEvents)
          Callback for receiving events.
 
Methods inherited from interface com.bea.wlevs.ede.api.EventSink
onEvent
 

Method Detail

onREvent

public void onREvent(java.util.List newEvents,
                     java.util.List oldEvents)
              throws EventRejectedException
Callback for receiving events. Always invoked with at least one parameter not being null.

Parameters:
new - events emitted by source
old - events that are no longer live in the source
Throws:
EventRejectedException - if listener cannot handle event, it can raise this exception to inform the source


Copyright © 2007 BEA Systems All Rights Reserved.