public class

JVM_MANAGEMENT_MIB_IMPL

extends JVM_MANAGEMENT_MIB
java.lang.Object
   ↳ com.sun.jmx.snmp.agent.SnmpMibAgent
     ↳ com.sun.jmx.snmp.agent.SnmpMib
       ↳ sun.management.snmp.jvmmib.JVM_MANAGEMENT_MIB
         ↳ sun.management.snmp.jvminstr.JVM_MANAGEMENT_MIB_IMPL

Summary

[Expand]
Inherited Fields
From class sun.management.snmp.jvmmib.JVM_MANAGEMENT_MIB
From class com.sun.jmx.snmp.agent.SnmpMib
From class com.sun.jmx.snmp.agent.SnmpMibAgent
Public Constructors
JVM_MANAGEMENT_MIB_IMPL()
Instantiate a JVM MIB intrusmentation.
Public Methods
synchronized void addTarget(NotificationTarget target)
Add a notification target.
synchronized void addTargets(List<NotificationTarget> targets)
Add notification targets.
static SnmpOidTable getOidTable()
void terminate()
Remove notification listener.
long validity()
Protected Methods
Object createJvmClassLoadingMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "JvmClassLoading" group MBean.
Object createJvmCompilationMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "JvmCompilation" group MBean.
JvmCompilationMeta createJvmCompilationMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "JvmCompilation" group metadata class.
Object createJvmMemoryMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "JvmMemory" group MBean.
JvmMemoryMeta createJvmMemoryMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "JvmMemory" group metadata class.
Object createJvmOSMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "JvmOS" group MBean.
Object createJvmRuntimeMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "JvmRuntime" group MBean.
JvmRuntimeMeta createJvmRuntimeMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "JvmRuntime" group metadata class.
Object createJvmThreadingMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "JvmThreading" group MBean.
JvmThreadingMeta createJvmThreadingMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "JvmThreading" group metadata class.
[Expand]
Inherited Methods
From class sun.management.snmp.jvmmib.JVM_MANAGEMENT_MIB
From class com.sun.jmx.snmp.agent.SnmpMib
From class com.sun.jmx.snmp.agent.SnmpMibAgent
From class java.lang.Object
From interface com.sun.jmx.snmp.agent.SnmpMibAgentMBean
From interface javax.management.MBeanRegistration

Public Constructors

public JVM_MANAGEMENT_MIB_IMPL ()

Instantiate a JVM MIB intrusmentation. A NotificationListener is added to the MemoryMXBean NotificationEmitter

Public Methods

public synchronized void addTarget (NotificationTarget target)

Add a notification target.

Parameters
target The target to add
Throws
IllegalArgumentException If target parameter is null.

public synchronized void addTargets (List<NotificationTarget> targets)

Add notification targets.

Parameters
targets A list of sun.management.snmp.jvminstr.NotificationTarget
Throws
IllegalArgumentException If targets parameter is null.

public static SnmpOidTable getOidTable ()

public void terminate ()

Remove notification listener.

public long validity ()

Protected Methods

protected Object createJvmClassLoadingMBean (String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)

Factory method for "JvmClassLoading" group MBean. You can redefine this method if you need to replace the default generated MBean class with your own customized class.

Parameters
groupName Name of the group ("JvmClassLoading")
groupOid OID of this group
groupObjname ObjectName for this group (may be null)
server MBeanServer for this group (may be null)
Returns
  • An instance of the MBean class generated for the "JvmClassLoading" group (JvmClassLoading) Note that when using standard metadata, the returned object must implement the "JvmClassLoadingMBean" interface.

protected Object createJvmCompilationMBean (String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)

Factory method for "JvmCompilation" group MBean. You can redefine this method if you need to replace the default generated MBean class with your own customized class.

Parameters
groupName Name of the group ("JvmCompilation")
groupOid OID of this group
groupObjname ObjectName for this group (may be null)
server MBeanServer for this group (may be null)
Returns
  • An instance of the MBean class generated for the "JvmCompilation" group (JvmCompilation) Note that when using standard metadata, the returned object must implement the "JvmCompilationMBean" interface.

protected JvmCompilationMeta createJvmCompilationMetaNode (String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)

Factory method for "JvmCompilation" group metadata class. You can redefine this method if you need to replace the default generated metadata class with your own customized class.

Parameters
groupName Name of the group ("JvmCompilation")
groupOid OID of this group
groupObjname ObjectName for this group (may be null)
server MBeanServer for this group (may be null)
Returns
  • An instance of the metadata class generated for the "JvmCompilation" group (JvmCompilationMeta)

protected Object createJvmMemoryMBean (String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)

Factory method for "JvmMemory" group MBean. You can redefine this method if you need to replace the default generated MBean class with your own customized class.

Parameters
groupName Name of the group ("JvmMemory")
groupOid OID of this group
groupObjname ObjectName for this group (may be null)
server MBeanServer for this group (may be null)
Returns
  • An instance of the MBean class generated for the "JvmMemory" group (JvmMemory) Note that when using standard metadata, the returned object must implement the "JvmMemoryMBean" interface.

protected JvmMemoryMeta createJvmMemoryMetaNode (String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)

Factory method for "JvmMemory" group metadata class. You can redefine this method if you need to replace the default generated metadata class with your own customized class.

Parameters
groupName Name of the group ("JvmMemory")
groupOid OID of this group
groupObjname ObjectName for this group (may be null)
server MBeanServer for this group (may be null)
Returns
  • An instance of the metadata class generated for the "JvmMemory" group (JvmMemoryMeta)

protected Object createJvmOSMBean (String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)

Factory method for "JvmOS" group MBean. You can redefine this method if you need to replace the default generated MBean class with your own customized class.

Parameters
groupName Name of the group ("JvmOS")
groupOid OID of this group
groupObjname ObjectName for this group (may be null)
server MBeanServer for this group (may be null)
Returns
  • An instance of the MBean class generated for the "JvmOS" group (JvmOS) Note that when using standard metadata, the returned object must implement the "JvmOSMBean" interface.

protected Object createJvmRuntimeMBean (String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)

Factory method for "JvmRuntime" group MBean. You can redefine this method if you need to replace the default generated MBean class with your own customized class.

Parameters
groupName Name of the group ("JvmRuntime")
groupOid OID of this group
groupObjname ObjectName for this group (may be null)
server MBeanServer for this group (may be null)
Returns
  • An instance of the MBean class generated for the "JvmRuntime" group (JvmRuntime) Note that when using standard metadata, the returned object must implement the "JvmRuntimeMBean" interface.

protected JvmRuntimeMeta createJvmRuntimeMetaNode (String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)

Factory method for "JvmRuntime" group metadata class. You can redefine this method if you need to replace the default generated metadata class with your own customized class.

Parameters
groupName Name of the group ("JvmRuntime")
groupOid OID of this group
groupObjname ObjectName for this group (may be null)
server MBeanServer for this group (may be null)
Returns
  • An instance of the metadata class generated for the "JvmRuntime" group (JvmRuntimeMeta)

protected Object createJvmThreadingMBean (String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)

Factory method for "JvmThreading" group MBean. You can redefine this method if you need to replace the default generated MBean class with your own customized class.

Parameters
groupName Name of the group ("JvmThreading")
groupOid OID of this group
groupObjname ObjectName for this group (may be null)
server MBeanServer for this group (may be null)
Returns
  • An instance of the MBean class generated for the "JvmThreading" group (JvmThreading) Note that when using standard metadata, the returned object must implement the "JvmThreadingMBean" interface.

protected JvmThreadingMeta createJvmThreadingMetaNode (String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)

Factory method for "JvmThreading" group metadata class. You can redefine this method if you need to replace the default generated metadata class with your own customized class.

Parameters
groupName Name of the group ("JvmThreading")
groupOid OID of this group
groupObjname ObjectName for this group (may be null)
server MBeanServer for this group (may be null)
Returns
  • An instance of the metadata class generated for the "JvmThreading" group (JvmThreadingMeta)