com.ibm.task.api
Class HumanTaskManagerDelegateFactory
- java.lang.Object
com.ibm.task.api.HumanTaskManagerDelegateFactory
- public class HumanTaskManagerDelegateFactory
- extends java.lang.Object
Since:
6.0
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
|
LOCAL_EJB
|
|
REMOTE_EJB
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getHumanTaskManagerDelegate(java.lang.String jndiName)
Returns the single instance of a remote HumanTaskManagerDelegate object.
|
|
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:
REMOTE_EJB
- public static final int REMOTE_EJB
See Also:
LOCAL_EJB
- public static final int LOCAL_EJB
See Also:
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:
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:
javax.ejb.CreateException
javax.naming.NamingException