org.apache.ode.bpel.runtime
Class EventContextImpl

java.lang.Object
  extended by org.apache.ode.bpel.runtime.EventContextImpl
All Implemented Interfaces:
org.apache.ode.bpel.evt.EventContext

public class EventContextImpl
extends java.lang.Object
implements org.apache.ode.bpel.evt.EventContext

Bpel Event Context Implementation.


Constructor Summary
EventContextImpl(org.apache.ode.bpel.o.OScope __scope, java.lang.Long __scopeInstanceId, BpelRuntimeContext __runtimeContext)
          Constructor
 
Method Summary
 java.lang.Long getScopeInstanceId()
          Get ScopeInstanceId
 java.lang.String getVariableData(java.lang.String varName)
          Get Variable data for the given variable name, for this scope instance
 java.lang.String[] getVariableNames()
          Get All variable names used in this scope Instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventContextImpl

public EventContextImpl(org.apache.ode.bpel.o.OScope __scope,
                        java.lang.Long __scopeInstanceId,
                        BpelRuntimeContext __runtimeContext)
Constructor

Parameters:
__scope - Scope Object used in this scope instance.
__scopeInstanceId - Scope Instance ID
__runtimeContext - BPEL Runtime Context
Method Detail

getVariableData

public java.lang.String getVariableData(java.lang.String varName)
Get Variable data for the given variable name, for this scope instance

Specified by:
getVariableData in interface org.apache.ode.bpel.evt.EventContext
Parameters:
varName - Variable Name
Returns:
DOM Node as XML String. If no value exists or variable not initialized, NULL will be returnrd.

getVariableNames

public java.lang.String[] getVariableNames()
Get All variable names used in this scope Instance

Specified by:
getVariableNames in interface org.apache.ode.bpel.evt.EventContext
Returns:
Array of Variable Names. If no variable(s) exists, null will be returned.

getScopeInstanceId

public java.lang.Long getScopeInstanceId()
Get ScopeInstanceId

Specified by:
getScopeInstanceId in interface org.apache.ode.bpel.evt.EventContext
Returns:
scopeInstanceId