public class HealthCheckMBean extends Object implements DynamicMBean
DynamicMBean
used to execute a HealthCheck
serviceConstructor and Description |
---|
HealthCheckMBean(org.osgi.framework.ServiceReference ref,
ExtendedHealthCheckExecutor executor) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String attribute) |
AttributeList |
getAttributes(String[] attributes) |
MBeanInfo |
getMBeanInfo() |
Object |
invoke(String actionName,
Object[] params,
String[] signature) |
void |
setAttribute(Attribute attribute) |
AttributeList |
setAttributes(AttributeList attributes) |
String |
toString() |
public HealthCheckMBean(org.osgi.framework.ServiceReference ref, ExtendedHealthCheckExecutor executor)
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute
in interface DynamicMBean
AttributeNotFoundException
MBeanException
ReflectionException
public AttributeList getAttributes(String[] attributes)
getAttributes
in interface DynamicMBean
public MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
MBeanException
ReflectionException
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute
in interface DynamicMBean
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
public AttributeList setAttributes(AttributeList attributes)
setAttributes
in interface DynamicMBean
Copyright © 2013–2017 The Apache Software Foundation. All rights reserved.