|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jlf.vitals.VitalSign | +--org.jlf.vitals.weblogic.WebLogicRuntimeVital
WebLogicRuntimeVital
is a superclass of
concrete vital signs like execute threads and JDBC connection
pools. It abstracts common code to get to WebLogic MBeans.
VitalSign
Field Summary | |
protected weblogic.management.MBeanHome |
mbeanHome
Holds the mbean home of the local server. |
static java.lang.String |
WEBLOGIC_SERVER_NAME_PROPERTY
The -D option given to the java start command specifying the name of the WebLogic server, necessary as input to a lot of MBean finder methods. |
Fields inherited from class org.jlf.vitals.VitalSign |
childInstances, childVitalKey, isActiveFlag, isParentVital, properties, statistics, timeLastChildInstancesCollected, timeLastVitalMeasurementRegistered, vitalKey |
Constructor Summary | |
WebLogicRuntimeVital(java.lang.String vitalKey,
VitalSignProperties properties)
Creates the vital sign. |
Method Summary | |
weblogic.management.MBeanHome |
getMBeanHome()
Retrieves the WebLogic server mbean home. |
java.lang.String |
getServerName()
Returns the name of the weblogic server that got started, for uses like making uniquely-named dynamic connection pools, getting MBeans, and the like. |
boolean |
isVitalApplicable()
Checks to see if the vital sign is applicable, that is, are we running inside a WebLogic container virtual machine??? |
protected void |
refreshChildInstance(java.lang.String childPoolName)
Helper method to either refresh a child instance or create one if new. |
void |
refreshChildInstances(java.lang.String runtimeMBeanType)
Looks at all the registered MBeans of a particular type and activates children for each one currently applicable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String WEBLOGIC_SERVER_NAME_PROPERTY
protected weblogic.management.MBeanHome mbeanHome
Constructor Detail |
public WebLogicRuntimeVital(java.lang.String vitalKey, VitalSignProperties properties)
Method Detail |
public java.lang.String getServerName()
public weblogic.management.MBeanHome getMBeanHome()
public boolean isVitalApplicable()
isVitalApplicable
in class VitalSign
VitalSign.isVitalApplicable()
protected void refreshChildInstance(java.lang.String childPoolName)
public void refreshChildInstances(java.lang.String runtimeMBeanType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |