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 SummaryFields 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 SummaryConstructors 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 SummaryAll 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_RESULTpublic static final java.lang.String THREAD_PARAMETER_SERVICE_RESULT The future result parameter name.- See Also:
- Constant Field Values
 
 - 
EVENT_PARAMETER_SERVICE_RESULTpublic static final java.lang.String EVENT_PARAMETER_SERVICE_RESULT The user result parameter name.- See Also:
- Constant Field Values
 
 - 
instanceprotected IInternalAccess instance The process instance.
 - 
eventsprotected java.util.Map<java.lang.String,jadex.bpmn.model.MActivity> events The method / event mapping.
 
- 
 - 
Constructor Detail- 
ProcessServiceInvocationHandlerpublic ProcessServiceInvocationHandler(IInternalAccess instance, java.util.Map<java.lang.String,jadex.bpmn.model.MActivity> events) Create a new process service invocation handler.
 - 
ProcessServiceInvocationHandlerpublic ProcessServiceInvocationHandler(IInternalAccess instance, java.lang.String actid) Create a new process service invocation handler.
 
- 
 - 
Method Detail- 
invokepublic 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 interface- java.lang.reflect.InvocationHandler
- Throws:
- java.lang.Throwable
 
 
- 
 
-