public class MBeanAttributeMOTableInfo extends MBeanMOInfo
MBeanAttributeMOTableInfo class describes the mapping from
the attributes of an MBean to a SNMP conceptual table and vice versa.| Constructor and Description |
|---|
MBeanAttributeMOTableInfo(ObjectName name,
MBeanAttributeKeyProvider keyProvider,
TypedAttribute[] columns,
String[] keyAttributes,
JMXIndexSupport indexSupport)
Creates a table mapping for the supplied MBean name.
|
| Modifier and Type | Method and Description |
|---|---|
TypedAttribute[] |
getColumns() |
String[] |
getIndexAttributes() |
JMXIndexSupport |
getIndexSupport() |
Object |
getKey(MBeanServerConnection server,
ObjectName row) |
MBeanAttributeKeyProvider |
getKeyProvider() |
getMBeanNames, getObjectNamepublic MBeanAttributeMOTableInfo(ObjectName name, MBeanAttributeKeyProvider keyProvider, TypedAttribute[] columns, String[] keyAttributes, JMXIndexSupport indexSupport)
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.public String[] getIndexAttributes()
public TypedAttribute[] getColumns()
public MBeanAttributeKeyProvider getKeyProvider()
public JMXIndexSupport getIndexSupport()
public Object getKey(MBeanServerConnection server, ObjectName row) throws IOException, ReflectionException, InstanceNotFoundException
Copyright © 2015 SNMP4J.org. All rights reserved.