API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang.management. ManagementFactory View Source
Author(s)
Mandy Chung
Since
1.5
Version
1.24, 03/08/06
Serial
Hierarchy
 Object
      ManagementFactory
Implements
Subclasses
Description
public class ManagementFactory
  The ManagementFactory class is a factory class for getting managed beans for the Java platform.
Constructors
private ManagementFactory ()
Methods
Hide/Show inherited methods
publicstatic ClassLoadingMXBean getClassLoadingMXBean ()
  Returns the managed bean for the class loading system of the Java virtual machine.
publicstatic CompilationMXBean getCompilationMXBean ()
  Returns the managed bean for the compilation system of the Java virtual machine.
publicstatic List<GarbageCollectorMXBean> getGarbageCollectorMXBeans ()
  Returns a list of GarbageCollectorMXBean objects in the Java virtual machine.
publicstatic List<MemoryManagerMXBean> getMemoryManagerMXBeans ()
  Returns a list of MemoryManagerMXBean objects in the Java virtual machine.
publicstatic MemoryMXBean getMemoryMXBean ()
  Returns the managed bean for the memory system of the Java virtual machine.
publicstatic List<MemoryPoolMXBean> getMemoryPoolMXBeans ()
  Returns a list of MemoryPoolMXBean objects in the Java virtual machine.
publicstatic OperatingSystemMXBean getOperatingSystemMXBean ()
  Returns the managed bean for the operating system on which the Java virtual machine is running.
publicstaticsynchronized MBeanServer getPlatformMBeanServer ()
  Returns the platform MBeanServer.
publicstatic RuntimeMXBean getRuntimeMXBean ()
  Returns the managed bean for the runtime system of the Java virtual machine.
publicstatic ThreadMXBean getThreadMXBean ()
  Returns the managed bean for the thread system of the Java virtual machine.
publicstatic T newPlatformMXBeanProxy (MBeanServerConnection connection, String mxbeanName, Class< T> mxbeanInterface) throws IOException
  Returns a proxy for a platform MXBean interface of a given MXBean name that forwards its method calls through the given MBeanServerConnection.
Fields
Hide/Show inherited fields
publicfinalstatic String CLASS_LOADING_MXBEAN_NAME = "java.lang:type=ClassLoading"
String representation of the ObjectName for the ClassLoadingMXBean.
publicfinalstatic String COMPILATION_MXBEAN_NAME = "java.lang:type=Compilation"
String representation of the ObjectName for the CompilationMXBean.
publicfinalstatic String GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE = "java.lang:type=GarbageCollector"
  The domain name and the type key property in the ObjectName for a GarbageCollectorMXBean.
publicfinalstatic String MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE = "java.lang:type=MemoryManager"
  The domain name and the type key property in the ObjectName for a MemoryManagerMXBean.
publicfinalstatic String MEMORY_MXBEAN_NAME = "java.lang:type=Memory"
String representation of the ObjectName for the MemoryMXBean.
publicfinalstatic String MEMORY_POOL_MXBEAN_DOMAIN_TYPE = "java.lang:type=MemoryPool"
  The domain name and the type key property in the ObjectName for a MemoryPoolMXBean.
publicfinalstatic String OPERATING_SYSTEM_MXBEAN_NAME = "java.lang:type=OperatingSystem"
String representation of the ObjectName for the OperatingSystemMXBean.
publicfinalstatic String RUNTIME_MXBEAN_NAME = "java.lang:type=Runtime"
String representation of the ObjectName for the RuntimeMXBean.
publicfinalstatic String THREAD_MXBEAN_NAME = "java.lang:type=Threading"
String representation of the ObjectName for the ThreadMXBean.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar