|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.bpe.clientmodel.BFMConnection
The BFMConnection
provides access to the BusinessFlowManagerService API.
The API is rendered through an EJB. Use BFMConnection
to initialize and
configure the reference to the EJB.
To configure the connection use the following parameters:
providerURL
(optional): locates the EJB container which runs the BusinessFlowManagerService EJB.
Configure this parameter to configure access to a remote EJB. Set to null if a local bean is to be used.
jndiName
(mandatory): JNDI name for the EJB module.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
(C) Copyright IBM Corporation 2005. |
Constructor Summary | |
---|---|
BFMConnection()
Create a new connection to the BusinessFlowManagerService. |
Method Summary | |
---|---|
void |
close()
Close the connection to the process engine |
protected void |
finalize()
|
com.ibm.bpe.api.BusinessFlowManagerService |
getBusinessFlowManagerService()
Retrieve the BusinessFlowManagerService bean. |
java.lang.String |
getJndiName()
Get the JNDI name for the API EJB. |
java.lang.String |
getProviderURL()
Get the URL to the service provider for the Business Process Choreographer API beans. |
java.lang.Object |
retrieve(com.ibm.bpe.api.OID id)
Retrieve an application object by its identifier |
void |
setJndiName(java.lang.String newName)
Set the JNDI name for the API EJB. |
void |
setProviderURL(java.lang.String url)
Set the URL to the service provider of the Business Process Choreographer beans. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public BFMConnection()
Method Detail |
public java.lang.String getProviderURL()
public void setProviderURL(java.lang.String url)
url
- , e.g. "iiop://localhost"public java.lang.String getJndiName()
public void setJndiName(java.lang.String newName)
newName
- The new JNDI lookup namepublic java.lang.Object retrieve(com.ibm.bpe.api.OID id) throws ClientException
id
- OID
for the object
ClientException
public void close()
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
public com.ibm.bpe.api.BusinessFlowManagerService getBusinessFlowManagerService() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |