com.ibm.task.api
Class HumanTaskManagerDelegateFactory

java.lang.Object
  extended by com.ibm.task.api.HumanTaskManagerDelegateFactory

public class HumanTaskManagerDelegateFactory
extends java.lang.Object

Factory to create a HumanTaskManagerDelegate object.

Since:
6.0

Field Summary
static java.lang.String COPYRIGHT
           
static int LOCAL_EJB
           
static int REMOTE_EJB
           
 
Method Summary
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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

REMOTE_EJB

public static final int REMOTE_EJB
See Also:
Constant Field Values

LOCAL_EJB

public static final int LOCAL_EJB
See Also:
Constant Field Values
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