T - used to assist in the revert functionality. Can be Void if not needed.public abstract class MonitorServiceWriteAttributeHandler<T>
extends org.jboss.as.controller.AbstractWriteAttributeHandler<T>
#applyUpdateToRuntime() to ensure the agent is allowed
to write the attribute.| Constructor and Description |
|---|
MonitorServiceWriteAttributeHandler(org.jboss.as.controller.AttributeDefinition... definitions) |
MonitorServiceWriteAttributeHandler(Collection<org.jboss.as.controller.AttributeDefinition> definitions) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
applyUpdateToRuntime(org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode resolvedValue,
org.jboss.dmr.ModelNode currentValue,
org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<T> handbackHolder) |
protected MonitorService |
getMonitorService(org.jboss.as.controller.OperationContext opContext) |
public MonitorServiceWriteAttributeHandler(org.jboss.as.controller.AttributeDefinition... definitions)
public MonitorServiceWriteAttributeHandler(Collection<org.jboss.as.controller.AttributeDefinition> definitions)
protected MonitorService getMonitorService(org.jboss.as.controller.OperationContext opContext)
protected boolean applyUpdateToRuntime(org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode resolvedValue,
org.jboss.dmr.ModelNode currentValue,
org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<T> handbackHolder)
throws org.jboss.as.controller.OperationFailedException
applyUpdateToRuntime in class org.jboss.as.controller.AbstractWriteAttributeHandler<T>org.jboss.as.controller.OperationFailedExceptionCopyright © 2015–2017 Red Hat, Inc.. All rights reserved.