public class AsyncHandlerWriteAttributeHandler extends AbstractLogHandlerWriteAttributeHandler<org.jboss.logmanager.handlers.AsyncHandler>
AbstractWriteAttributeHandler.HandbackHolder<T>| Modifier and Type | Field and Description |
|---|---|
static AsyncHandlerWriteAttributeHandler |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doApplyUpdateToRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode resolvedValue,
org.jboss.dmr.ModelNode currentValue,
String handlerName,
org.jboss.logmanager.handlers.AsyncHandler handler)
Applies additional runtime attributes for the handler.
|
protected void |
doRevertUpdateToRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode valueToRestore,
org.jboss.dmr.ModelNode valueToRevert,
String handlerName,
org.jboss.logmanager.handlers.AsyncHandler handler)
Reverts updates to the handler.
|
applyUpdateToRuntime, getAttributeDefinition, getAttributes, revertUpdateToRuntime, validateResolvedValue, validateUnresolvedValueexecute, requiresRuntimepublic static final AsyncHandlerWriteAttributeHandler INSTANCE
protected boolean doApplyUpdateToRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode resolvedValue, org.jboss.dmr.ModelNode currentValue, String handlerName, org.jboss.logmanager.handlers.AsyncHandler handler) throws OperationFailedException
AbstractLogHandlerWriteAttributeHandlerdoApplyUpdateToRuntime in class AbstractLogHandlerWriteAttributeHandler<org.jboss.logmanager.handlers.AsyncHandler>context - the context for the operation.operation - the operationattributeName - the name of the attribute being modifiedresolvedValue - the new value for the attribute, after ModelNode.resolve() has been called on itcurrentValue - the existing value for the attributehandlerName - the name of the handler.handler - the handler to apply the changes to.true if the server requires restart to effect the attribute value change; false if not.OperationFailedException - if the operation fails.protected void doRevertUpdateToRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode valueToRestore, org.jboss.dmr.ModelNode valueToRevert, String handlerName, org.jboss.logmanager.handlers.AsyncHandler handler) throws OperationFailedException
AbstractLogHandlerWriteAttributeHandlerdoRevertUpdateToRuntime in class AbstractLogHandlerWriteAttributeHandler<org.jboss.logmanager.handlers.AsyncHandler>context - the context for the operation.operation - the operationattributeName - the name of the attribute being modifiedvalueToRestore - the previous value for the attribute, before this operation was executedvalueToRevert - the new value for the attribute that should be revertedhandlerName - the name of the handler.handler - the handler to apply the changes to.OperationFailedException - if the operation fails.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.