org.snmp4j.agent.mo.jmx
Class MBeanAttributeMOTableInfo
java.lang.Object
org.snmp4j.agent.mo.jmx.MBeanMOInfo
org.snmp4j.agent.mo.jmx.MBeanAttributeMOTableInfo
- Direct Known Subclasses:
- MBeanAttributeListMOTableInfo
public class MBeanAttributeMOTableInfo
- extends MBeanMOInfo
The MBeanAttributeMOTableInfo class describes the mapping from
the attributes of an MBean to a SNMP conceptual table and vice versa.
- Version:
- 1.0
- Author:
- Frank Fock
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanAttributeMOTableInfo
public MBeanAttributeMOTableInfo(javax.management.ObjectName name,
MBeanAttributeKeyProvider keyProvider,
TypedAttribute[] columns,
java.lang.String[] keyAttributes,
JMXIndexSupport indexSupport)
- Creates a table mapping for the supplied MBean name.
- Parameters:
name - the name of the MBean that provides the table data.keyProvider - a key provider that provides the keys that identify rows in the table.columns - the attributes that represent the columns of the table.keyAttributes - the name of the attributes in columns that represent the
primary key of the row.indexSupport - provides the mapping between the row keys and their corresponding
SNMP index values.
getIndexAttributes
public java.lang.String[] getIndexAttributes()
getColumns
public TypedAttribute[] getColumns()
getKeyProvider
public MBeanAttributeKeyProvider getKeyProvider()
getIndexSupport
public JMXIndexSupport getIndexSupport()
getKey
public java.lang.Object getKey(javax.management.MBeanServerConnection server,
javax.management.ObjectName row)
throws java.io.IOException,
javax.management.ReflectionException,
javax.management.InstanceNotFoundException
- Throws:
java.io.IOException
javax.management.ReflectionException
javax.management.InstanceNotFoundException