javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, RuntimeMBean
, WebLogicMBean
public interface AppRuntimeStateRuntimeMBean extends RuntimeMBean
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
STATE_ACTIVE |
Running and available.
|
static java.lang.String |
STATE_ADMIN |
Running, but only accessible through the administration port.
|
static java.lang.String |
STATE_FAILED |
Configured but not deployed.
|
static java.lang.String |
STATE_NEW |
Configured but not deployed.
|
static java.lang.String |
STATE_PREPARED |
Ready for activation.
|
static java.lang.String |
STATE_RETIRED |
Configured but not deployed.
|
static java.lang.String |
STATE_UPDATE_PENDING |
Running and being updated.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getApplicationIds() |
|
java.lang.String |
getCurrentState(java.lang.String appid,
java.lang.String target) |
Aggregate state for the application.
|
java.lang.String |
getCurrentState(java.lang.String appid,
java.lang.String moduleid,
java.lang.String target) |
Aggregate state for the module.
|
java.lang.String |
getCurrentState(java.lang.String appid,
java.lang.String moduleid,
java.lang.String subModuleId,
java.lang.String target) |
Aggregate state for a submodule.
|
java.lang.String |
getIntendedState(java.lang.String appid) |
The state the application should be in.
|
java.lang.String |
getIntendedState(java.lang.String appid,
java.lang.String target) |
The state the application should be in on a specific target.
|
java.lang.String[] |
getModuleIds(java.lang.String appid) |
Names of the modules contained in the application.
|
java.lang.String[] |
getModuleTargets(java.lang.String appid,
java.lang.String moduleid) |
Logical targets where the module is deployed.
|
java.lang.String[] |
getModuleTargets(java.lang.String appid,
java.lang.String moduleid,
java.lang.String subModuleId) |
Logical targets where the submodule is deployed.
|
java.lang.String |
getModuleType(java.lang.String appid,
java.lang.String moduleid) |
Indicates the type of module: EAR, WAR, etc.
|
long |
getRetireTimeMillis(java.lang.String appid) |
The time when the application will be retired.
|
int |
getRetireTimeoutSeconds(java.lang.String appid) |
The amount of time the application is given to retire.
|
java.lang.String[] |
getSubmoduleIds(java.lang.String appid,
java.lang.String moduleid) |
Submodules associated with this module.
|
boolean |
isActiveVersion(java.lang.String appid) |
Indicates if the application is the active version, the one that new sessions will use.
|
boolean |
isAdminMode(java.lang.String appid,
java.lang.String target) |
Indicates if the application should only be available through the administration port.
|
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
static final java.lang.String STATE_NEW
static final java.lang.String STATE_FAILED
static final java.lang.String STATE_RETIRED
static final java.lang.String STATE_PREPARED
static final java.lang.String STATE_ADMIN
static final java.lang.String STATE_ACTIVE
static final java.lang.String STATE_UPDATE_PENDING
java.lang.String[] getApplicationIds()
boolean isAdminMode(java.lang.String appid, java.lang.String target)
appid
- is the application idtarget
- boolean isActiveVersion(java.lang.String appid)
appid
- is the application idlong getRetireTimeMillis(java.lang.String appid)
appid
- int getRetireTimeoutSeconds(java.lang.String appid)
appid
- java.lang.String getIntendedState(java.lang.String appid)
appid
- java.lang.String getIntendedState(java.lang.String appid, java.lang.String target)
appid
- target
- java.lang.String getCurrentState(java.lang.String appid, java.lang.String target)
appid
- target
- logical target where the app is deployedjava.lang.String[] getModuleIds(java.lang.String appid)
appid
- java.lang.String[] getSubmoduleIds(java.lang.String appid, java.lang.String moduleid)
appid
- moduleid
- WebLogicModuleType
java.lang.String getModuleType(java.lang.String appid, java.lang.String moduleid)
appid
- moduleid
- WebLogicModuleType
java.lang.String getCurrentState(java.lang.String appid, java.lang.String moduleid, java.lang.String target)
appid
- moduleid
- target
- logical target where module is deployedjava.lang.String[] getModuleTargets(java.lang.String appid, java.lang.String moduleid)
appid
- moduleid
- java.lang.String getCurrentState(java.lang.String appid, java.lang.String moduleid, java.lang.String subModuleId, java.lang.String target)
appid
- moduleid
- subModuleId
- target
- logical target where module is deployedjava.lang.String[] getModuleTargets(java.lang.String appid, java.lang.String moduleid, java.lang.String subModuleId)
appid
- moduleid
- subModuleId
-