org.snmp4j.agent.mo.jmx
Class MBeanInvokationKeyProvider
java.lang.Object
org.snmp4j.agent.mo.jmx.MBeanMOInfo
org.snmp4j.agent.mo.jmx.MBeanAttributeMOInfo
org.snmp4j.agent.mo.jmx.MBeanAttributeKeyProvider
org.snmp4j.agent.mo.jmx.MBeanInvokationKeyProvider
public class MBeanInvokationKeyProvider
- extends MBeanAttributeKeyProvider
If a MBean provides the keys for a SNMP conceptual table by an attribute
and the objects that represent rows of that table can be accessed through
a call to an operation of that MBean then this class can be used to provide
the row objects for the SNMP conceptual table.
- Version:
- 1.0
- Author:
- Frank Fock
|
Method Summary |
java.lang.Object |
getRowValues(javax.management.MBeanServerConnection server,
java.lang.Object indexObject)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanInvokationKeyProvider
public MBeanInvokationKeyProvider(javax.management.ObjectName mBeanName,
TypedAttribute keyAttribute,
java.lang.String rowProvidingOperation)
MBeanInvokationKeyProvider
public MBeanInvokationKeyProvider(javax.management.ObjectName mBeanName,
TypedAttribute keyAttribute,
java.lang.String rowProvidingOperation,
boolean keysNeedSorting)
getRowValues
public java.lang.Object getRowValues(javax.management.MBeanServerConnection server,
java.lang.Object indexObject)
throws java.io.IOException,
javax.management.MBeanException,
javax.management.AttributeNotFoundException,
javax.management.InstanceNotFoundException,
javax.management.ReflectionException
- Overrides:
getRowValues in class MBeanAttributeKeyProvider
- Throws:
java.io.IOException
javax.management.MBeanException
javax.management.AttributeNotFoundException
javax.management.InstanceNotFoundException
javax.management.ReflectionException