Package oshi.demo.jmx.mbeans
Class Baseboard
java.lang.Object
oshi.demo.jmx.mbeans.Baseboard
- All Implemented Interfaces:
DynamicMBean,PropertiesAvailable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String attribute) getAttributes(String[] attributes) voidsetAttribute(Attribute attribute) setAttributes(AttributeList attributes)
-
Constructor Details
-
Baseboard
public Baseboard(oshi.hardware.Baseboard baseboard) throws IntrospectionException, IntrospectionException
-
-
Method Details
-
getAttribute
- Specified by:
getAttributein interfaceDynamicMBean
-
getMBeanInfo
- Specified by:
getMBeanInfoin interfaceDynamicMBean
-
getProperties
- Specified by:
getPropertiesin interfacePropertiesAvailable
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException - Specified by:
setAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionException
-
getAttributes
- Specified by:
getAttributesin interfaceDynamicMBean
-
setAttributes
- Specified by:
setAttributesin interfaceDynamicMBean
-
invoke
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Specified by:
invokein interfaceDynamicMBean- Throws:
MBeanExceptionReflectionException
-