Save This Page
Home » bsf-src-2.4.0 » org.apache.bsf.util » [javadoc | source]
org.apache.bsf.util
public class: BSFEventProcessorReturningEventInfos [javadoc | source]
java.lang.Object
   org.apache.bsf.util.BSFEventProcessorReturningEventInfos

All Implemented Interfaces:
    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.
Field Summary
 BSFEngine engine     
 BSFManager manager     
 String filter     
 String source     
 int lineNo     
 int columnNo     
 Object script     
 Object dataFromScriptingEngine     
Constructor:
 BSFEventProcessorReturningEventInfos(BSFEngine engine,
    BSFManager manager,
    String filter,
    String source,
    int lineNo,
    int columnNo,
    Object script,
    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.
Method from org.apache.bsf.util.BSFEventProcessorReturningEventInfos Summary:
processEvent,   processExceptionableEvent
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.bsf.util.BSFEventProcessorReturningEventInfos Detail:
 public  void processEvent(String inFilter,
    Object[] evtInfo) 
 public  void processExceptionableEvent(String inFilter,
    Object[] evtInfo) throws Exception