org.apache.bsf.util
Class BSFEventProcessorReturningEventInfos
java.lang.Object
org.apache.bsf.util.BSFEventProcessorReturningEventInfos
- All Implemented Interfaces:
- EventProcessor
- public class BSFEventProcessorReturningEventInfos
- extends java.lang.Object
- implements EventProcessor
This is used to support binding scripts to be run when an event occurs,
forwarding the arguments supplied to the event listener. It is an adapted
version of org.apache.bsf.util.BSFEventProcessor.
- Author:
- Rony G. Flatscher, but most of the code copied from
org.apache.bsf.util.BSFEventProcessor by Sanjiva Weerawarana
Constructor Summary |
(package private) |
BSFEventProcessorReturningEventInfos(BSFEngine engine,
BSFManager manager,
java.lang.String filter,
java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script,
java.lang.Object dataFromScriptingEngine)
Package-protected constructor makes this class unavailable for public
use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
engine
BSFEngine engine
manager
BSFManager manager
filter
java.lang.String filter
source
java.lang.String source
lineNo
int lineNo
columnNo
int columnNo
script
java.lang.Object script
dataFromScriptingEngine
java.lang.Object dataFromScriptingEngine
BSFEventProcessorReturningEventInfos
BSFEventProcessorReturningEventInfos(BSFEngine engine,
BSFManager manager,
java.lang.String filter,
java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script,
java.lang.Object dataFromScriptingEngine)
throws BSFException
- Package-protected constructor makes this class unavailable for public
use.
- Parameters:
dataFromScriptingEngine
- this contains any object supplied by the scripting engine and
gets sent back with the supplied script. This could be used
e.g. for indicating which scripting engine object should be
ultimately informed of the event occurrence.
processEvent
public void processEvent(java.lang.String inFilter,
java.lang.Object[] evtInfo)
- Specified by:
processEvent
in interface EventProcessor
processExceptionableEvent
public void processExceptionableEvent(java.lang.String inFilter,
java.lang.Object[] evtInfo)
throws java.lang.Exception
- Specified by:
processExceptionableEvent
in interface EventProcessor
- Throws:
java.lang.Exception