|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides access to runtime state for deployed applications.
Field Summary | |
static String |
STATE_ACTIVE
Ruuning and available |
static String |
STATE_ADMIN
Running but only accessible through admin port |
static String |
STATE_FAILED
Configured but not deployed. |
static String |
STATE_NEW
Configured but not deployed. |
static String |
STATE_PREPARED
Ready for activation |
static String |
STATE_RETIRED
Configured but not deployed. |
static String |
STATE_UPDATE_PENDING
Running and being updated |
Method Summary | |
String[] |
getApplicationIds()
|
String |
getCurrentState(String appid,
String target)
Aggregate state for the application. |
String |
getCurrentState(String appid,
String moduleid,
String target)
Aggregate state for the module. |
String |
getCurrentState(String appid,
String moduleid,
String subModuleId,
String target)
Aggregate state for a submodule. |
String |
getIntendedState(String appid)
The state the application should be in. |
String |
getIntendedState(String appid,
String target)
The state the application should be in on a specific target. |
String[] |
getModuleIds(String appid)
Names of modules contained in the application. |
String[] |
getModuleTargets(String appid,
String moduleid)
Logical targets where the module is deployed |
String[] |
getModuleTargets(String appid,
String moduleid,
String subModuleId)
Logical targets where the submodule is deployed |
String |
getModuleType(String appid,
String moduleid)
Indicates type of module: EAR, WAR, etc |
long |
getRetireTimeMillis(String appid)
The time when the app will be retired |
int |
getRetireTimeoutSeconds(String appid)
The amount of time the app is given to retire |
String[] |
getSubmoduleIds(String appid,
String moduleid)
Submodules associated with this module |
boolean |
isActiveVersion(String appid)
Indicates if the application is the active version; the one that new sessions will use. |
boolean |
isAdminMode(String appid,
String target)
Indicates if application should only be available through the admin port. |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Field Detail |
public static final String STATE_ACTIVE
public static final String STATE_ADMIN
public static final String STATE_FAILED
public static final String STATE_NEW
public static final String STATE_PREPARED
public static final String STATE_RETIRED
public static final String STATE_UPDATE_PENDING
Method Detail |
public String[] getApplicationIds()
public String getCurrentState(String appid, String target)
appid
- target
- logical target where the app is deployed
public String getCurrentState(String appid, String moduleid, String target)
appid
- moduleid
- target
- logical target where module is deployed
public String getCurrentState(String appid, String moduleid, String subModuleId, String target)
appid
- moduleid
- subModuleId
- target
- logical target where module is deployed
public String getIntendedState(String appid)
appid
- public String getIntendedState(String appid, String target)
appid
- target
- public String[] getModuleIds(String appid)
appid
-
public String[] getModuleTargets(String appid, String moduleid)
appid
- moduleid
- public String[] getModuleTargets(String appid, String moduleid, String subModuleId)
appid
- moduleid
- subModuleId
- public String getModuleType(String appid, String moduleid)
appid
- moduleid
-
weblogic.deploy.api.shared.WebLogicModuleType
public long getRetireTimeMillis(String appid)
appid
- public int getRetireTimeoutSeconds(String appid)
appid
- public String[] getSubmoduleIds(String appid, String moduleid)
appid
- moduleid
-
weblogic.deploy.api.shared.WebLogicModuleType
public boolean isActiveVersion(String appid)
appid
- is the application id
public boolean isAdminMode(String appid, String target)
appid
- is the application id
|
Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |