Java Doc for ManagementFactory.java in  » Apache-Harmony-Java-SE » java-package » java » lang » management » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » java package » java.lang.management 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.lang.management.ManagementFactory

ManagementFactory
public class ManagementFactory (Code)

The factory for retrieving all managed object for the JVM as well as the JVM's MBean server.


since:
   1.5


Field Summary
final public static  StringCLASS_LOADING_MXBEAN_NAME
    

The String value of the ObjectName for ClassLoadingMXBean .

final public static  StringCOMPILATION_MXBEAN_NAME
    

The String value of the ObjectName for CompilationMXBean .

final public static  StringGARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE
    

The String value of the ObjectName for GarbageCollectorMXBean .

final public static  StringMEMORY_MANAGER_MXBEAN_DOMAIN_TYPE
    

The String value of the ObjectName for MemoryManagerMXBean .

final public static  StringMEMORY_MXBEAN_NAME
    

The String value of the ObjectName for MemoryMXBean .

final public static  StringMEMORY_POOL_MXBEAN_DOMAIN_TYPE
    

The String value of the ObjectName for MemoryPoolMXBean .

final public static  StringOPERATING_SYSTEM_MXBEAN_NAME
    

The String value of the ObjectName for OperatingSystemMXBean .

final public static  StringRUNTIME_MXBEAN_NAME
    

The String value of the ObjectName for RuntimeMXBean .

final public static  StringTHREAD_MXBEAN_NAME
    

The String value of the ObjectName for ThreadMXBean .



Method Summary
public static  ClassLoadingMXBeangetClassLoadingMXBean()
     Returns the singleton MXBean for the virtual machine's class loading system.
public static  CompilationMXBeangetCompilationMXBean()
     Returns the singleton MXBean for the virtual machine's compilation system if and only if the virtual machine has a compilation system enabled .
public static  List<GarbageCollectorMXBean>getGarbageCollectorMXBeans()
     Returns a list of all of the instances of GarbageCollectorMXBean in this virtual machine.
public static  MemoryMXBeangetMemoryMXBean()
     Returns the singleton MXBean for the virtual machine's memory system.
public static  List<MemoryManagerMXBean>getMemoryManagerMXBeans()
     Returns a list of all of the instances of MemoryManagerMXBean in this virtual machine.
public static  List<MemoryPoolMXBean>getMemoryPoolMXBeans()
     Returns a list of all of the instances of MemoryPoolMXBean in this virtual machine.
public static  OperatingSystemMXBeangetOperatingSystemMXBean()
     Returns the singleton MXBean for the operating system which the virtual machine runs on.
public static  MBeanServergetPlatformMBeanServer()
     Returns a reference to the virtual machine's platform MBeanServer.
public static  RuntimeMXBeangetRuntimeMXBean()
     Returns the singleton MXBean for the virtual machine's runtime system.
public static  ThreadMXBeangetThreadMXBean()
     Returns the singleton MXBean for the virtual machine's threading system.
public static  TnewPlatformMXBeanProxy(MBeanServerConnection connection, String mxbeanName, Class<T> mxbeanInterface)
    

Field Detail
CLASS_LOADING_MXBEAN_NAME
final public static String CLASS_LOADING_MXBEAN_NAME(Code)

The String value of the ObjectName for ClassLoadingMXBean .




COMPILATION_MXBEAN_NAME
final public static String COMPILATION_MXBEAN_NAME(Code)

The String value of the ObjectName for CompilationMXBean .




GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE
final public static String GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE(Code)

The String value of the ObjectName for GarbageCollectorMXBean .




MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE
final public static String MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE(Code)

The String value of the ObjectName for MemoryManagerMXBean .




MEMORY_MXBEAN_NAME
final public static String MEMORY_MXBEAN_NAME(Code)

The String value of the ObjectName for MemoryMXBean .




MEMORY_POOL_MXBEAN_DOMAIN_TYPE
final public static String MEMORY_POOL_MXBEAN_DOMAIN_TYPE(Code)

The String value of the ObjectName for MemoryPoolMXBean .




OPERATING_SYSTEM_MXBEAN_NAME
final public static String OPERATING_SYSTEM_MXBEAN_NAME(Code)

The String value of the ObjectName for OperatingSystemMXBean .




RUNTIME_MXBEAN_NAME
final public static String RUNTIME_MXBEAN_NAME(Code)

The String value of the ObjectName for RuntimeMXBean .




THREAD_MXBEAN_NAME
final public static String THREAD_MXBEAN_NAME(Code)

The String value of the ObjectName for ThreadMXBean .






Method Detail
getClassLoadingMXBean
public static ClassLoadingMXBean getClassLoadingMXBean()(Code)
Returns the singleton MXBean for the virtual machine's class loading system. the virtual machine's ClassLoadingMXBean



getCompilationMXBean
public static CompilationMXBean getCompilationMXBean()(Code)
Returns the singleton MXBean for the virtual machine's compilation system if and only if the virtual machine has a compilation system enabled . If no compilation exists for this virtual machine, a null is returned. the virtual machine's CompilationMXBeanornull if there is no compilation system for thisvirtual machine.



getGarbageCollectorMXBeans
public static List<GarbageCollectorMXBean> getGarbageCollectorMXBeans()(Code)
Returns a list of all of the instances of GarbageCollectorMXBean in this virtual machine. Owing to the dynamic nature of this kind of MXBean, it is possible that instances may be created or destroyed between the invocation and return of this method. a list of all known GarbageCollectorMXBean s inthis virtual machine.



getMemoryMXBean
public static MemoryMXBean getMemoryMXBean()(Code)
Returns the singleton MXBean for the virtual machine's memory system. the virtual machine's MemoryMXBean



getMemoryManagerMXBeans
public static List<MemoryManagerMXBean> getMemoryManagerMXBeans()(Code)
Returns a list of all of the instances of MemoryManagerMXBean in this virtual machine. Owing to the dynamic nature of this kind of MXBean, it is possible that instances may be created or destroyed between the invocation and return of this method.

Note that the list of MemoryManagerMXBean instances will include instances of MemoryManagerMXBean sub-types such as GarbageCollectorMXBean.

a list of all known MemoryManagerMXBean s in thisvirtual machine.



getMemoryPoolMXBeans
public static List<MemoryPoolMXBean> getMemoryPoolMXBeans()(Code)
Returns a list of all of the instances of MemoryPoolMXBean in this virtual machine. Owing to the dynamic nature of this kind of MXBean, it is possible that instances may be created or destroyed between the invocation and return of this method. a list of all known MemoryPoolMXBean s in thisvirtual machine.



getOperatingSystemMXBean
public static OperatingSystemMXBean getOperatingSystemMXBean()(Code)
Returns the singleton MXBean for the operating system which the virtual machine runs on. the virtual machine's OperatingSystemMXBean



getPlatformMBeanServer
public static MBeanServer getPlatformMBeanServer()(Code)
Returns a reference to the virtual machine's platform MBeanServer. This MBeanServer will have all of the platform MXBean s registered with it including any dynamic MXBean s (e.g. instances of GarbageCollectorMXBean that may be unregistered and destroyed at a later time.

In order to simplify the process of distribution and discovery of managed beans it is good practice to register all managed beans (in addition to the platform MXBeans) with this server.

A custom MBeanServer can be created by this method if the System property javax.management.builder.initial has been set with the fully qualified name of a subclass of javax.management.MBeanServerBuilder .

the platform MBeanServer.
throws:
  SecurityException - if there is a Java security manager in operation and thecaller of this method does not have"createMBeanServer"MBeanServerPermission.
See Also:   MBeanServer
See Also:   javax.management.MBeanServerPermission



getRuntimeMXBean
public static RuntimeMXBean getRuntimeMXBean()(Code)
Returns the singleton MXBean for the virtual machine's runtime system. the virtual machine's RuntimeMXBean



getThreadMXBean
public static ThreadMXBean getThreadMXBean()(Code)
Returns the singleton MXBean for the virtual machine's threading system. the virtual machine's ThreadMXBean



newPlatformMXBeanProxy
public static T newPlatformMXBeanProxy(MBeanServerConnection connection, String mxbeanName, Class<T> mxbeanInterface) throws IOException(Code)
<
Parameters:
  T - >
Parameters:
  connection -
Parameters:
  mxbeanName -
Parameters:
  mxbeanInterface - a new proxy object representing the named MXBean.All subsequent method invocations on the proxy will be routedthrough the supplied MBeanServerConnection object.
throws:
  IOException -



Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final public Class<? extends Object> getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify()(Code)(Java Doc)
final public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait(long millis, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait(long millis) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.