|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JMXIndexSupport
The JMXIndexSupport provides a mapping between an Object and
a SNMP index OID. Optionally, the Object can also be mapped directly to
a MBean instance identified by an ObjectName.
| Method Summary | |
|---|---|
java.lang.Object |
getRowIdentifier(java.lang.Object nativeRowId,
int nativeIndex)
Maps a native object identifying a row or alternatively the row's index into an internal array (e.g., an array returned by a MBean method). |
org.snmp4j.smi.OID |
mapToIndex(java.lang.Object rowIdentifier)
Maps a row identifier (i.e., an Object returned by getRowIdentifier(java.lang.Object, int)) to a row index. |
java.lang.Object |
mapToRowIdentifier(org.snmp4j.smi.OID rowIndex)
Maps a row index OID to an object describing a row index internally. |
javax.management.ObjectName |
mapToRowMBean(java.lang.Object rowIdentifier)
Maps a row identifier to a MBean object name. |
| Method Detail |
|---|
java.lang.Object getRowIdentifier(java.lang.Object nativeRowId,
int nativeIndex)
nativeRowId - an Object identifying a row.nativeIndex - optionally the index of the row into an internal array.
org.snmp4j.smi.OID mapToIndex(java.lang.Object rowIdentifier)
getRowIdentifier(java.lang.Object, int)) to a row index.
rowIdentifier - an Object describing a row index.
java.lang.Object mapToRowIdentifier(org.snmp4j.smi.OID rowIndex)
rowIndex - a row index OID.
javax.management.ObjectName mapToRowMBean(java.lang.Object rowIdentifier)
null is returned.
rowIdentifier - the row identifier which may be also a native index value into an
array or list of MBean attribute values.
rowIdentifier. If rowIdentifier is a
Integer and null is returned, the caller
should use the rowIdentifier value as index into the value list.
|
Copyright 2006-2007 Frank Fock (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||