EventAdapter (Bean Scripting Framework API)
Keywords: org.apache.bsf.util.event.EventAdapter interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD