org.snmp4j.agent.mo.jmx
Class MBeanMultiAttributeMOInfo
java.lang.Object
org.snmp4j.agent.mo.jmx.MBeanMOInfo
org.snmp4j.agent.mo.jmx.MBeanAttributeMOInfo
org.snmp4j.agent.mo.jmx.MBeanMultiAttributeMOInfo
public class MBeanMultiAttributeMOInfo
- extends MBeanAttributeMOInfo
There are cases where a single SNMP variable is mapped to several
MBean attributes. MBeanMultiAttributeMOInfo provides means
for such a mapping.
- Version:
- 1.0
- Author:
- Frank Fock
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanMultiAttributeMOInfo
public MBeanMultiAttributeMOInfo(javax.management.ObjectName name,
CombinedTypedAttribute attributes)
getAttributes
public CombinedTypedAttribute getAttributes()
getAttribute
public java.lang.Object getAttribute(javax.management.MBeanServerConnection server)
throws javax.management.ReflectionException,
javax.management.InstanceNotFoundException,
javax.management.AttributeNotFoundException,
javax.management.MBeanException,
java.io.IOException
- Overrides:
getAttribute in class MBeanAttributeMOInfo
- Throws:
javax.management.ReflectionException
javax.management.InstanceNotFoundException
javax.management.AttributeNotFoundException
javax.management.MBeanException
java.io.IOException
getAttribute
public static java.lang.Object getAttribute(javax.management.MBeanServerConnection server,
javax.management.ObjectName name,
CombinedTypedAttribute attributes)
throws javax.management.ReflectionException,
javax.management.InstanceNotFoundException,
javax.management.AttributeNotFoundException,
javax.management.MBeanException,
java.io.IOException
- Throws:
javax.management.ReflectionException
javax.management.InstanceNotFoundException
javax.management.AttributeNotFoundException
javax.management.MBeanException
java.io.IOException
setAttribute
public void setAttribute(javax.management.MBeanServerConnection server,
java.lang.Object value)
throws javax.management.ReflectionException,
javax.management.MBeanException,
javax.management.InvalidAttributeValueException,
javax.management.AttributeNotFoundException,
javax.management.InstanceNotFoundException,
java.io.IOException
- Overrides:
setAttribute in class MBeanAttributeMOInfo
- Throws:
javax.management.ReflectionException
javax.management.MBeanException
javax.management.InvalidAttributeValueException
javax.management.AttributeNotFoundException
javax.management.InstanceNotFoundException
java.io.IOException
setAttribute
public static void setAttribute(javax.management.MBeanServerConnection server,
javax.management.ObjectName name,
CombinedTypedAttribute attributes,
java.lang.Object value)
throws javax.management.ReflectionException,
javax.management.MBeanException,
javax.management.InvalidAttributeValueException,
javax.management.AttributeNotFoundException,
javax.management.InstanceNotFoundException,
java.io.IOException
- Throws:
javax.management.ReflectionException
javax.management.MBeanException
javax.management.InvalidAttributeValueException
javax.management.AttributeNotFoundException
javax.management.InstanceNotFoundException
java.io.IOException