站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 system API Documentation 英文版文档

ServerInfoMBean (JBoss System API) - JBoss 4.0.1 sp1 system API Documentation 英文版文档


org.jboss.system.server
Interface ServerInfoMBean

All Known Implementing Classes:
ServerInfo

public interface ServerInfoMBean

MBean interface.


Field Summary
static javax.management.ObjectName OBJECT_NAME
           
 
Method Summary
 String displayInfoForClass(String className)
          Display the ClassLoader, ProtectionDomain and Package information for the specified class.
 String displayPackageInfo(String pkgName)
          Display the java.lang.Package info for the pkgName
 Integer getActiveThreadCount()
           
 Integer getActiveThreadGroupCount()
           
 Integer getAvailableProcessors()
          Returns Runtime.getRuntime().availableProcessors() on JDK 1.4 vms or -1 on previous versions.
 Long getFreeMemory()
           
 String getHostAddress()
          Returns InetAddress.getLocalHost().getHostAddress();
 String getHostName()
          Returns InetAddress.getLocalHost().getHostName();
 String getJavaVendor()
           
 String getJavaVersion()
           
 String getJavaVMName()
           
 String getJavaVMVendor()
           
 String getJavaVMVersion()
           
 Long getMaxMemory()
          Returns Runtime.getRuntime().maxMemory() on JDK 1.4 vms or -1 on previous versions.
 String getOSArch()
           
 String getOSName()
           
 String getOSVersion()
           
 Long getTotalMemory()
           
 String listThreadDump()
          Return a listing of the active threads and thread groups.
 

Field Detail

OBJECT_NAME

public static final javax.management.ObjectName OBJECT_NAME
Method Detail

getJavaVersion

public String getJavaVersion()

getJavaVendor

public String getJavaVendor()

getJavaVMName

public String getJavaVMName()

getJavaVMVersion

public String getJavaVMVersion()

getJavaVMVendor

public String getJavaVMVendor()

getOSName

public String getOSName()

getOSVersion

public String getOSVersion()

getOSArch

public String getOSArch()

getTotalMemory

public Long getTotalMemory()

getFreeMemory

public Long getFreeMemory()

getMaxMemory

public Long getMaxMemory()
Returns Runtime.getRuntime().maxMemory() on JDK 1.4 vms or -1 on previous versions.


getAvailableProcessors

public Integer getAvailableProcessors()
Returns Runtime.getRuntime().availableProcessors() on JDK 1.4 vms or -1 on previous versions.


getHostName

public String getHostName()
Returns InetAddress.getLocalHost().getHostName();


getHostAddress

public String getHostAddress()
Returns InetAddress.getLocalHost().getHostAddress();


getActiveThreadCount

public Integer getActiveThreadCount()

getActiveThreadGroupCount

public Integer getActiveThreadGroupCount()

listThreadDump

public String listThreadDump()
Return a listing of the active threads and thread groups.


displayPackageInfo

public String displayPackageInfo(String pkgName)
Display the java.lang.Package info for the pkgName


displayInfoForClass

public String displayInfoForClass(String className)
                           throws Exception
Display the ClassLoader, ProtectionDomain and Package information for the specified class.

Returns:
a simple html report of this information
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.