@Singleton @Configurable public class SetJmxAttribute extends AbstractHealthAction
<health:SetJmxAttribute>
<objectName>java.lang:type=ClassLoading</objectName>
<attribute>Verbose</attribute>
<value>true</value>
<health:OnStart/>
</health:SetJmxAttribute>
Constructor and Description |
---|
SetJmxAttribute() |
Modifier and Type | Method and Description |
---|---|
HealthActionResult |
doActionImpl(HealthEvent healthEvent) |
java.lang.String |
getAttribute() |
java.lang.String |
getObjectName() |
java.lang.String |
getValue() |
void |
init() |
void |
setAttribute(java.lang.String attribute) |
void |
setObjectName(java.lang.String objectName) |
void |
setValue(java.lang.String value) |
add, addListener, doAction, getPredicates, start, stop, toString
@PostConstruct public void init()
init
in class AbstractHealthAction
public java.lang.String getObjectName()
@Configurable public void setObjectName(java.lang.String objectName)
public java.lang.String getAttribute()
@Configurable public void setValue(java.lang.String value)
public java.lang.String getValue()
@Configurable public void setAttribute(java.lang.String attribute)
public HealthActionResult doActionImpl(HealthEvent healthEvent) throws java.lang.Exception
doActionImpl
in class AbstractHealthAction
java.lang.Exception