|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.elca.el4j.services.monitoring.jmx.JvmMB
public class JvmMB
The proxy class for the JVM. Each MBean Server contains exactly one JVM MBean.
Field Summary | |
---|---|
static String |
JVM_DOMAIN
The domain of the JVM proxy as it will be registered at the MBean Server. |
protected List |
m_applicationContextMB
A list of Application Context proxies which are running in this JVM proxy. |
Constructor Summary | |
---|---|
JvmMB()
Constructor which calls the setObjectName() method. |
Method Summary | |
---|---|
void |
addApplicationContext(ApplicationContextMB appCont)
Add an Application Context proxy to the list of Application Context proxies in this JVM proxy. |
String |
findDuplicateClasses()
Searches for duplicated classes on the classpath. |
ObjectName[] |
getApplicationContexts()
Returns all the Application Context proxies in this JVM. |
String[] |
getClassPath()
Get the classpath of this jvm. |
int |
getInstanceCounter()
The getter method for the instanceCounter member. |
ObjectName |
getObjectName()
The getter method for the object name of this JVM proxy. |
String[] |
getSystemProperties()
Returns the system properties of this JVM in a String array. |
void |
setInstanceCounter()
Save the class variable s_counter to an instance member and increment the class variable by 1. |
void |
setObjectName()
Sets the object name of this JVM proxy. |
String |
showThreadTable()
An HTML table is created, which lists all Threads and their property values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String JVM_DOMAIN
protected List m_applicationContextMB
Constructor Detail |
---|
public JvmMB()
Method Detail |
---|
public String[] getSystemProperties()
getSystemProperties
in interface JvmMBMBean
public String[] getClassPath()
getClassPath
in interface JvmMBMBean
public String findDuplicateClasses()
findDuplicateClasses
in interface JvmMBMBean
public ObjectName[] getApplicationContexts()
getApplicationContexts
in interface JvmMBMBean
public void addApplicationContext(ApplicationContextMB appCont)
appCont
- The Application Context proxy to addpublic void setObjectName()
public ObjectName getObjectName()
public int getInstanceCounter()
public void setInstanceCounter()
public String showThreadTable()
showThreadTable
in interface JvmMBMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |