public class SizeRotatingHandlerUpdateProperties extends HandlerUpdateProperties<org.jboss.logmanager.handlers.SizeRotatingFileHandler>
Modifier and Type | Field and Description |
---|---|
static SizeRotatingHandlerUpdateProperties |
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.SizeRotatingFileHandler 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.SizeRotatingFileHandler handler)
Hook to allow subclasses to revert runtime changes made in
#applyUpdateToRuntime(OperationContext, String, ModelNode, ModelNode, T) . |
copy, execute, getAttributes, requiresRuntime, updateModel
public static final SizeRotatingHandlerUpdateProperties INSTANCE
protected boolean applyUpdateToRuntime(OperationContext context, String handlerName, org.jboss.dmr.ModelNode model, org.jboss.dmr.ModelNode originalModel, org.jboss.logmanager.handlers.SizeRotatingFileHandler handler) throws OperationFailedException
HandlerUpdateProperties
applyUpdateToRuntime
in class HandlerUpdateProperties<org.jboss.logmanager.handlers.SizeRotatingFileHandler>
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 notOperationFailedException
protected void revertUpdateToRuntime(OperationContext context, String handlerName, org.jboss.dmr.ModelNode model, org.jboss.dmr.ModelNode originalModel, org.jboss.logmanager.handlers.SizeRotatingFileHandler handler) throws OperationFailedException
HandlerUpdateProperties
#applyUpdateToRuntime(OperationContext, String, ModelNode, ModelNode, T)
.revertUpdateToRuntime
in class HandlerUpdateProperties<org.jboss.logmanager.handlers.SizeRotatingFileHandler>
context
- the context of the operationmodel
- the modeloriginalModel
- the original modelhandler
- the log handlerOperationFailedException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.