Package jadex.bpmn.runtime
Class ProcessServiceInvocationHandler
- java.lang.Object
 - 
- jadex.bpmn.runtime.ProcessServiceInvocationHandler
 
 
- 
- All Implemented Interfaces:
 java.lang.reflect.InvocationHandler
public class ProcessServiceInvocationHandler extends java.lang.Object implements java.lang.reflect.InvocationHandlerInvocation handler for mapping service requests to start events of BPMN processes. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEVENT_PARAMETER_SERVICE_RESULTThe user result parameter name.protected java.util.Map<java.lang.String,jadex.bpmn.model.MActivity>eventsThe method / event mapping.protected IInternalAccessinstanceThe process instance.static java.lang.StringTHREAD_PARAMETER_SERVICE_RESULTThe future result parameter name. 
- 
Constructor Summary
Constructors Constructor Description ProcessServiceInvocationHandler(IInternalAccess instance, java.lang.String actid)Create a new process service invocation handler.ProcessServiceInvocationHandler(IInternalAccess instance, java.util.Map<java.lang.String,jadex.bpmn.model.MActivity> events)Create a new process service invocation handler. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)Called when a method is invoked on a proxy. 
 - 
 
- 
- 
Field Detail
- 
THREAD_PARAMETER_SERVICE_RESULT
public static final java.lang.String THREAD_PARAMETER_SERVICE_RESULT
The future result parameter name.- See Also:
 - Constant Field Values
 
 
- 
EVENT_PARAMETER_SERVICE_RESULT
public static final java.lang.String EVENT_PARAMETER_SERVICE_RESULT
The user result parameter name.- See Also:
 - Constant Field Values
 
 
- 
instance
protected IInternalAccess instance
The process instance. 
- 
events
protected java.util.Map<java.lang.String,jadex.bpmn.model.MActivity> events
The method / event mapping. 
 - 
 
- 
Constructor Detail
- 
ProcessServiceInvocationHandler
public ProcessServiceInvocationHandler(IInternalAccess instance, java.util.Map<java.lang.String,jadex.bpmn.model.MActivity> events)
Create a new process service invocation handler. 
- 
ProcessServiceInvocationHandler
public ProcessServiceInvocationHandler(IInternalAccess instance, java.lang.String actid)
Create a new process service invocation handler. 
 - 
 
- 
Method Detail
- 
invoke
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.ThrowableCalled when a method is invoked on a proxy.- Specified by:
 invokein interfacejava.lang.reflect.InvocationHandler- Throws:
 java.lang.Throwable
 
 - 
 
 -