org.apache.bsf.util.event
Interface EventProcessor
- All Known Implementing Classes:
- BSFEventProcessor, BSFEventProcessorReturningEventInfos
- public interface EventProcessor
EventProcessor is the interface that event adapters use to
delegate events they received to be delivered to the appropriate target.
They can simply deliver the event using processEvent or, if the event
can be excepted to, via processExceptionableEvent (in which case the
adapter is expected to forward on an exception to the source bean).
- Author:
- Sanjiva Weerawarana, Matthew J. Duftler
- See Also:
EventAdapter
processEvent
public void processEvent(java.lang.String filter,
java.lang.Object[] eventInfo)
processExceptionableEvent
public void processExceptionableEvent(java.lang.String filter,
java.lang.Object[] eventInfo)
throws java.lang.Exception
- Throws:
java.lang.Exception