|
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.util.EJBHelper
Convenience class for obtainined a reference to WLI Admin EJB.
Constructor Summary | |
EJBHelper()
Create a new EJBHelper using defaults from the properties file, if available. |
|
EJBHelper(java.lang.String user,
java.lang.String pswd,
java.lang.String url)
Create a new EJBHelper using the specified connection info if provided. |
Method Summary | |
Admin |
getAdmin()
Provides a reference to the Admin EJB. |
void |
setPswd(java.lang.String pswd)
Set the user's password. |
void |
setServerUrl(java.lang.String url)
Set the WLS server URL. |
void |
setUser(java.lang.String user)
Set the user. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public EJBHelper()
user | The WLS user to log on with |
password | The user's password |
url | URL of the WLS server running BPM |
public EJBHelper(java.lang.String user, java.lang.String pswd, java.lang.String url)
null
parameters will be set to the value contained in
the properties file "EJBHelper.properties" if the file and key
exist.Method Detail |
public void setPswd(java.lang.String pswd)
Context.SECURITY_CREDENTIALS
key when obtaining the
InitialContext
.
pswd
- a String
containing the password of the
WebLogic user that the connection will be made as.public void setUser(java.lang.String user)
Context.SECURITY_PRINCIPAL
key when obtaining the
InitialContext
.
user
- a String
containing the name of the WebLogic
user that the connection will be made as.public void setServerUrl(java.lang.String url)
Context.PROVIDER_URL
key when obtaining the
InitialContext
.
url
- a String
containing the url of the WebLogic
server that will be connected to.public Admin getAdmin() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |