public class FileHandlerUpdateProperties extends HandlerUpdateProperties<org.jboss.logmanager.handlers.FileHandler>
| Modifier and Type | Field and Description |
|---|---|
static FileHandlerUpdateProperties |
INSTANCE |
OPERATION_NAME| Modifier and Type | Method and Description |
|---|---|
protected boolean |
applyUpdateToRuntime(OperationContext context,
String handlerName,
org.jboss.dmr.ModelNode model,
org.jboss.dmr.ModelNode originalModel,
org.jboss.logmanager.handlers.FileHandler handler)
Hook to allow subclasses to make runtime changes to effect the attribute value change.
|
protected void |
revertUpdateToRuntime(OperationContext context,
String handlerName,
org.jboss.dmr.ModelNode model,
org.jboss.dmr.ModelNode originalModel,
org.jboss.logmanager.handlers.FileHandler handler)
Hook to allow subclasses to revert runtime changes made in
#applyUpdateToRuntime(OperationContext, String, ModelNode, ModelNode, T). |
copy, execute, getAttributes, requiresRuntime, updateModelpublic static final FileHandlerUpdateProperties INSTANCE
protected boolean applyUpdateToRuntime(OperationContext context, String handlerName, org.jboss.dmr.ModelNode model, org.jboss.dmr.ModelNode originalModel, org.jboss.logmanager.handlers.FileHandler handler) throws OperationFailedException
HandlerUpdatePropertiesapplyUpdateToRuntime in class HandlerUpdateProperties<org.jboss.logmanager.handlers.FileHandler>context - the context of the operationmodel - the modeloriginalModel - the original modelhandler - the log handlertrue if the server requires restart to effect the attribute
value change; false if notOperationFailedExceptionprotected void revertUpdateToRuntime(OperationContext context, String handlerName, org.jboss.dmr.ModelNode model, org.jboss.dmr.ModelNode originalModel, org.jboss.logmanager.handlers.FileHandler handler) throws OperationFailedException
HandlerUpdateProperties#applyUpdateToRuntime(OperationContext, String, ModelNode, ModelNode, T).revertUpdateToRuntime in class HandlerUpdateProperties<org.jboss.logmanager.handlers.FileHandler>context - the context of the operationmodel - the modeloriginalModel - the original modelhandler - the log handlerOperationFailedExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.