Class ProcessServiceInvocationHandler

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler

    public class ProcessServiceInvocationHandler
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    Invocation handler for mapping service requests to start events of BPMN processes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
      Called when a method is invoked on a proxy.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • 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.Throwable
        Called when a method is invoked on a proxy.
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable