|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.management.Helper
public final class Helper
A utility class that simplifies acquiring the MBeanHome object for either the entire adminstrative domain or for a particular managed server.
The URL that is specified is used to acquire the JNDI InitialContext from which the MBeanHome will be acquired.
MBeanHome| Constructor Summary | |
|---|---|
Helper()
Deprecated. |
|
| Method Summary | |
|---|---|
static MBeanHome |
getAdminMBeanHome(String user,
String password,
String adminServerURL)
Deprecated. Returns the MBeanHome for the entire administrative domain. |
static MBeanHome |
getMBeanHome(String user,
String password,
String serverURL,
String serverName)
Deprecated. Returns the regular MBeanHome of the server specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Helper()
| Method Detail |
|---|
public static final MBeanHome getAdminMBeanHome(String user,
String password,
String adminServerURL)
throws IllegalArgumentException
user - the id for a user which has authorization to find the
MBeanHome on the admin serverpassword - for the specified useradminServerURL - The URL used to acquire the InitialContext
IllegalArgumentException - if any of the arguments are null or invalid
public static final MBeanHome getMBeanHome(String user,
String password,
String serverURL,
String serverName)
throws IllegalArgumentException
user - the id for a user which has authorization to find the
MBeanHome on the admin serverpassword - for the specified user.serverName - name of the target server as defined in the domain
configuration.serverURL - the URL used to acquire the InitialContext. The URL
must either be that of the Adminstration server or the managed
server that is specified in the serverName
IllegalArgumentException - if any of the arguments are null or invalid
|
Because this information documents a Tech Preview of a BEA product, it may be incomplete and is subject to change. Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/essex/TechPreview Copyright 2007 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||