|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.bea.wlpi.client.common.WLPI
Provides a standard way to connect to a WebLogic Process Integrator server and access resources therein.
| Field Summary | |
protected static int |
MAX_TRY_COUNT
|
protected static java.lang.String |
PERMISSION_HOME_JNDI
|
protected static java.lang.String |
PLUGIN_MANAGER_CFG_JNDI
|
protected static java.lang.String |
PLUGIN_MANAGER_JNDI
|
protected static java.lang.String |
WEBLOGIC_REALM
|
| Constructor Summary | |
WLPI()
Create a new WLPI object. |
|
| Method Summary | |
boolean |
allowSecurityRealmUpdates()
Check whether the installed security realm is both manageable and persistent. |
boolean |
connect(java.awt.Frame owner,
java.lang.String url,
java.lang.String userID,
java.lang.String password)
Connect to WebLogic Integration server using the specified parameters. |
boolean |
connect(java.awt.Frame owner,
java.lang.String url,
java.lang.String userID,
java.lang.String password,
int maxRetries,
boolean autoLogon,
boolean graphical)
Connect to WebLogic Integration server using the specified parameters. |
void |
disconnect()
Disconnect from WebLogic Process Integrator server. |
Admin |
getAdmin()
Return a reference to an Admin EJB object. |
EJBCatalog |
getCatalog()
Return a reference to an EJBCatalog EJB object. |
javax.naming.Context |
getInitialContext()
Return the host application's JNDI context. |
Permission |
getPermission()
Return a reference to a Permission EJB object. |
PluginManager |
getPluginManager()
Return a reference to a PluginManager EJB object. |
PluginManagerCfg |
getPluginManagerCfg()
Return a reference to a PluginManagerCfg EJB object. |
WLPIPrincipal |
getPrincipal()
Return a reference to a WLPIPrincipal EJB object. |
XMLRepository |
getRepository()
Return a reference to an XMLRepository EJB object. |
ServerProperties |
getServerProperties()
Return a reference to a ServerProperties EJB object. |
VersionInfo |
getServerTemplateDefinitionVersion()
Return the template definition version supported by the server. |
VersionInfo |
getServerVersion()
Return the server version. |
java.lang.String |
getUrl()
Return the WebLogic Process Integrator server URL. |
java.lang.String |
getUserId()
Return the WebLogic Process Integrator user ID. |
Worklist |
getWorklist()
Return a reference to a Worklist EJB object. |
boolean |
isConnected()
Check whether this WLPI instance is connected to a server. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected static final java.lang.String WEBLOGIC_REALM
protected static final java.lang.String PLUGIN_MANAGER_JNDI
protected static final java.lang.String PLUGIN_MANAGER_CFG_JNDI
protected static final java.lang.String PERMISSION_HOME_JNDI
protected static final int MAX_TRY_COUNT
| Constructor Detail |
public WLPI()
WLPI object.| Method Detail |
public boolean allowSecurityRealmUpdates()
true If realm is both manageable and persistent.
public boolean connect(java.awt.Frame owner,
java.lang.String url,
java.lang.String userID,
java.lang.String password)
owner - The window that is to be the owner for message boxes and
dialogs. null for a non-graphical logon using console i/o.url - The WebLogic Integration server URL.userID - The WebLogic Integration user's ID.password - The user's password.disconnect()
public boolean connect(java.awt.Frame owner,
java.lang.String url,
java.lang.String userID,
java.lang.String password,
int maxRetries,
boolean autoLogon,
boolean graphical)
owner - The window that is to be the owner for message boxes and
dialogs. null for a non-graphical logon using console i/o.url - The WebLogic Integration server URL.userID - The WebLogic Integration user's ID.password - The user's password.maxRetries - The maximum number of retries permitted.autoLogon - true to attempt a logon using the supplied
values, falsefor an initial confirmatory dialog with the
user before performing the logon.graphical - true to perform a graphical dialog with
the user.disconnect()public void disconnect()
connect(java.awt.Frame, java.lang.String, java.lang.String, java.lang.String)public boolean isConnected()
WLPI instance is connected to a server.
true if connected.public javax.naming.Context getInitialContext()
public java.lang.String getUrl()
null
if not logged on).public java.lang.String getUserId()
null if
not logged on).
public Admin getAdmin()
throws WorkflowException
Admin EJB object.
Admin EJB object.getCatalog(),
getPrincipal(),
getWorklist()
public EJBCatalog getCatalog()
throws WorkflowException
EJBCatalog EJB object.
EJBCatalog EJB object.getAdmin(),
getPrincipal(),
getWorklist()
public WLPIPrincipal getPrincipal()
throws WorkflowException
WLPIPrincipal EJB object.
WLPIPrincipal EJB object.getAdmin(),
getCatalog(),
getWorklist()
public final Permission getPermission()
throws WorkflowException
Permission EJB object.
Permission EJB object.
public Worklist getWorklist()
throws WorkflowException
Worklist EJB object.
Worklist EJB object.getAdmin(),
getCatalog(),
getPrincipal()
public final ServerProperties getServerProperties()
throws WorkflowException
ServerProperties EJB object.
ServerProperties object.getAdmin(),
getCatalog(),
getPrincipal(),
getServerVersion(),
getServerTemplateDefinitionVersion()
public final PluginManager getPluginManager()
throws WorkflowException
PluginManager EJB object.
PluginManager object.getAdmin(),
getCatalog(),
getPluginManagerCfg(),
getPrincipal(),
getServerVersion(),
getServerTemplateDefinitionVersion()
public final PluginManagerCfg getPluginManagerCfg()
throws WorkflowException
PluginManagerCfg EJB object.
PluginManagerCfg object.getAdmin(),
getCatalog(),
getPluginManager(),
getPrincipal(),
getServerVersion(),
getServerTemplateDefinitionVersion()
public XMLRepository getRepository()
throws WorkflowException
XMLRepository EJB object.
XMLRepository EJB object.getAdmin(),
getPrincipal(),
getWorklist()
public VersionInfo getServerVersion()
throws WorkflowException
public VersionInfo getServerTemplateDefinitionVersion()
throws WorkflowException
|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||