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