com.ibm.task.api

Class HumanTaskManagerDelegateFactory

  • java.lang.Object
    • com.ibm.task.api.HumanTaskManagerDelegateFactory


  • public class HumanTaskManagerDelegateFactory
    extends java.lang.Object
    Factory to create a HumanTaskManagerDelegate object.
    Since:
    6.0
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT 
      static int LOCAL_EJB 
      static int REMOTE_EJB 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static HumanTaskManagerDelegate getHumanTaskManagerDelegate(java.lang.String jndiName)
      Returns the single instance of a remote HumanTaskManagerDelegate object.
      static HumanTaskManagerDelegate getHumanTaskManagerDelegate(java.lang.String jndiName, int protocol)
      Returns the single instance of a local or remote HumanTaskManagerDelegate object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getHumanTaskManagerDelegate

        public static HumanTaskManagerDelegate getHumanTaskManagerDelegate(java.lang.String jndiName)
                                                                    throws CommunicationException,
                                                                           javax.ejb.CreateException,
                                                                           javax.naming.NamingException
        Returns the single instance of a remote HumanTaskManagerDelegate object.
        Parameters:
        jndiName - The lookup name to access the Human Task Manager EJB API. Per default, a remote lookup is called.
        Returns:
        HumanTaskManagerDelegate The human task manager delegate object.
        Throws:
        CommunicationException
        javax.ejb.CreateException
        javax.naming.NamingException
      • getHumanTaskManagerDelegate

        public static HumanTaskManagerDelegate getHumanTaskManagerDelegate(java.lang.String jndiName,
                                                           int protocol)
                                                                    throws CommunicationException,
                                                                           InvalidProtocolException,
                                                                           javax.ejb.CreateException,
                                                                           javax.naming.NamingException
        Returns the single instance of a local or remote HumanTaskManagerDelegate object.
        Parameters:
        jndiName - The lookup name to access the Human Task Manager EJB API.
        protocol - An indication whether a local or remote access is to be triggered. REMOTE_EJB denotes that a remote EJB access is to be triggered. LOCAL_EJB denotes that a local EJB access is to be triggered.
        Returns:
        HumanTaskManagerDelegate The human task manager delegate object.
        Throws:
        CommunicationException
        InvalidProtocolException
        javax.ejb.CreateException
        javax.naming.NamingException
IBM Business Process ManagerTM
Release 8