org.snmp4j.agent.mo.jmx
Class MBeanMOInfo

java.lang.Object
  extended by org.snmp4j.agent.mo.jmx.MBeanMOInfo
Direct Known Subclasses:
MBeanActionMOInfo, MBeanAttributeMOInfo, MBeanAttributeMOTableInfo

public class MBeanMOInfo
extends java.lang.Object

The MBeanMOInfo provides information associated with a MBean through its ObjectName.

Version:
1.0
Author:
Frank Fock

Constructor Summary
MBeanMOInfo(javax.management.ObjectName name)
           
 
Method Summary
 java.util.Set<javax.management.ObjectInstance> getMBeanNames(javax.management.MBeanServerConnection server)
          Returns the MBean object instances associated with this getObjectName() at the supplied MBean server.
 javax.management.ObjectName getObjectName()
          Returns the name of the MBean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanMOInfo

public MBeanMOInfo(javax.management.ObjectName name)
Method Detail

getObjectName

public javax.management.ObjectName getObjectName()
Returns the name of the MBean.

Returns:
the MBean's ObjectName.

getMBeanNames

public java.util.Set<javax.management.ObjectInstance> getMBeanNames(javax.management.MBeanServerConnection server)
                                                             throws java.io.IOException
Returns the MBean object instances associated with this getObjectName() at the supplied MBean server.

Parameters:
server - a MBeanServerConnection.
Returns:
Set a set of ObjectInstances.
Throws:
java.io.IOException

Copyright 2006-2007 Frank Fock (SNMP4J.org)