|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.bonita.util.AccessorUtil
public final class AccessorUtil
This utility class has been provided to unify access to Bonita APIs and to avoid the use of lookups
in JEE deployments: org.ow2.bonita.util.AccessorUtil.
Through this class, Nova Bonita APIs can be reached in a unified way in both local and remote applications.
For that to be done, the system property called "org.ow2.bonita.api-type" must be defined at
client side to specify whether the APIs will be reached locally or remotely
(possible values are "standard","auto-detect",''ejb2" and "ejb3").
Field Summary | |
---|---|
static java.lang.String |
API_TYPE_PROPERTY
|
static java.lang.String |
COMMANDAPI_JNDINAME
|
static java.lang.String |
DEFINITIONAPI_JNDINAME
|
static java.lang.String |
MANAGEMENT_JNDINAME
|
static java.lang.String |
QUERYDEFINITION_JNDINAME
|
static java.lang.String |
QUERYRUNTIME_JNDINAME
|
static java.lang.String |
RUNTIMEAPI_JNDINAME
|
Method Summary | ||
---|---|---|
static APIAccessor |
getAPIAccessor()
|
|
static CommandAPI |
getCommandAPI()
To get the CommandAPI interface with a unify client access. |
|
static DefinitionAPI |
getDefinitionAPI()
To get the DefinitionAPI interface with a unify client access. |
|
static org.ow2.bonita.facade.remote.RemoteAPIAccessor |
getEJB2APIAccessor()
|
|
static ManagementAPI |
getManagementAPI()
To get the ManagementAPI interface with a unify client access. |
|
static QueryDefinitionAPI |
getQueryDefinitionAPI()
To get the QueryDefinitionAPI interface with a unify client access. |
|
static QueryRuntimeAPI |
getQueryRuntimeAPI()
To get the QueryRuntimeAPI interface with a unify client access. |
|
static RuntimeAPI |
getRuntimeAPI()
To get the RuntimeAPI interface with a unify client access. |
|
static
|
lookup(java.lang.Class<T> t,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String API_TYPE_PROPERTY
public static final java.lang.String RUNTIMEAPI_JNDINAME
public static final java.lang.String MANAGEMENT_JNDINAME
public static final java.lang.String DEFINITIONAPI_JNDINAME
public static final java.lang.String QUERYRUNTIME_JNDINAME
public static final java.lang.String QUERYDEFINITION_JNDINAME
public static final java.lang.String COMMANDAPI_JNDINAME
Method Detail |
---|
public static APIAccessor getAPIAccessor()
public static org.ow2.bonita.facade.remote.RemoteAPIAccessor getEJB2APIAccessor()
public static <T> T lookup(java.lang.Class<T> t, java.lang.String name)
public static RuntimeAPI getRuntimeAPI()
public static ManagementAPI getManagementAPI()
public static DefinitionAPI getDefinitionAPI()
public static QueryRuntimeAPI getQueryRuntimeAPI()
public static QueryDefinitionAPI getQueryDefinitionAPI()
public static CommandAPI getCommandAPI()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |