public class HumanTaskManagerDelegateFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static int |
LOCAL_EJB |
static int |
REMOTE_EJB |
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.
|
public static final java.lang.String COPYRIGHT
public static final int REMOTE_EJB
public static final int LOCAL_EJB
public static HumanTaskManagerDelegate getHumanTaskManagerDelegate(java.lang.String jndiName) throws CommunicationException, javax.ejb.CreateException, javax.naming.NamingException
jndiName
- The lookup name to access the Human Task Manager EJB API. Per default, a remote lookup is called.CommunicationException
javax.ejb.CreateException
javax.naming.NamingException
public static HumanTaskManagerDelegate getHumanTaskManagerDelegate(java.lang.String jndiName, int protocol) throws CommunicationException, InvalidProtocolException, javax.ejb.CreateException, javax.naming.NamingException
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.CommunicationException
InvalidProtocolException
javax.ejb.CreateException
javax.naming.NamingException