20080913, rgf

org.apache.bsf.util.event
Interface EventAdapter

All Known Implementing Classes:
EventAdapterImpl

public interface EventAdapter

EventAdapter is the interface that all event adapters must implement in order to work with the automatic event adapter generation model. This interface requires that the adapter implement a method that allows setting the event processor delegated to process the event after the adapter has received the event from the event source. The task of any event adapter is to receive the event and then delegate it to the event processor assigned to it, using either eventProcessor.processEvent or eventProcessor.processExceptionableEvent.

Author:
Sanjiva Weerawarana, Matthew J. Duftler
See Also:
EventProcessor

Method Summary
 void setEventProcessor(EventProcessor eventProcessor)
           
 

Method Detail

setEventProcessor

public void setEventProcessor(EventProcessor eventProcessor)

20080913, rgf