org.objectweb.jonas.server.JavaVm Class Reference

List of all members.

Public Member Functions

 JavaVm (String pObjectName, JProp pProps)
String getJavaVersion ()
String getJavaVendor ()
String getNode ()
int getAllThreadsCount ()
String[] getThreadGroups ()
String[] listThreads (String name)

Protected Member Functions

ThreadGroup getTopLevelThreadGroup ()

Detailed Description

The Java Virtual Machine used by the JOnAS server.
Author:
Michel-Ange Anton

Definition at line 41 of file JavaVm.java.


Constructor & Destructor Documentation

org.objectweb.jonas.server.JavaVm.JavaVm String  pObjectName,
JProp  pProps
 

Construct JavaVM MBean

Parameters:
pObjectName The MBean's OBJECT_NAME
pProps JProp object containing current JVM's properties

Definition at line 82 of file JavaVm.java.

References org.objectweb.jonas.common.JProp.getValue().

Here is the call graph for this function:


Member Function Documentation

int org.objectweb.jonas.server.JavaVm.getAllThreadsCount  ) 
 

Returns:
the number of threads in the JOnAS server

Definition at line 138 of file JavaVm.java.

References org.objectweb.jonas.server.JavaVm.getTopLevelThreadGroup().

Here is the call graph for this function:

String org.objectweb.jonas.server.JavaVm.getJavaVendor  ) 
 

Returns:
The JVM vendor.

Definition at line 108 of file JavaVm.java.

String org.objectweb.jonas.server.JavaVm.getJavaVersion  ) 
 

Returns:
The JVM version.

Definition at line 101 of file JavaVm.java.

String org.objectweb.jonas.server.JavaVm.getNode  ) 
 

Returns:
The node (machine) the JVM is running on.

Definition at line 115 of file JavaVm.java.

String [] org.objectweb.jonas.server.JavaVm.getThreadGroups  ) 
 

Returns:
the list of threadgroups name

Definition at line 160 of file JavaVm.java.

References org.objectweb.jonas.server.JavaVm.getTopLevelThreadGroup().

Here is the call graph for this function:

ThreadGroup org.objectweb.jonas.server.JavaVm.getTopLevelThreadGroup  )  [protected]
 

Returns:
the system threadGroup

Definition at line 123 of file JavaVm.java.

Referenced by org.objectweb.jonas.server.JavaVm.getAllThreadsCount(), org.objectweb.jonas.server.JavaVm.getThreadGroups(), and org.objectweb.jonas.server.JavaVm.listThreads().

String [] org.objectweb.jonas.server.JavaVm.listThreads String  name  ) 
 

Parameters:
name name of the thread group
Returns:
the name of thread names

Definition at line 184 of file JavaVm.java.

References org.objectweb.jonas.server.JavaVm.getTopLevelThreadGroup().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:08:04 2005 for JOnAS by  doxygen 1.3.9.1