org.apache.bsf.util.event

Interface EventProcessor

Known Implementing Classes:
BSFEventProcessor

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

Authors:
Sanjiva Weerawarana
Matthew J. Duftler

See Also:
EventAdapter

Method Summary

void
processEvent(String filter, Object[] eventInfo)
void
processExceptionableEvent(String filter, Object[] eventInfo)

Method Details

processEvent

public void processEvent(String filter,
                         Object[] eventInfo)


processExceptionableEvent

public void processExceptionableEvent(String filter,
                                      Object[] eventInfo)
            throws Exception