public class FileAuditLogHandlerResourceDefinition extends AuditLogHandlerResourceDefinition
Modifier and Type | Class and Description |
---|---|
protected static class |
FileAuditLogHandlerResourceDefinition.FileAuditLogHandlerAddHandler |
protected static class |
FileAuditLogHandlerResourceDefinition.HandlerWriteAttributeHandler |
SimpleResourceDefinition.Parameters
Modifier and Type | Field and Description |
---|---|
protected static AttributeDefinition[] |
ATTRIBUTES |
static SimpleAttributeDefinition |
PATH |
static SimpleAttributeDefinition |
RELATIVE_TO |
auditLogger, DISABLED_DUE_TO_FAILURE, FAILURE_COUNT, FORMATTER, MAX_FAILURE_COUNT, pathManager
Constructor and Description |
---|
FileAuditLogHandlerResourceDefinition(ManagedAuditLogger auditLogger,
PathManagerService pathManager) |
FileAuditLogHandlerResourceDefinition(ManagedAuditLogger auditLogger,
PathManagerService pathManager,
PathElement pathElement,
ResourceDescriptionResolver descriptionResolver,
OperationStepHandler addHandler,
OperationStepHandler removeHandler) |
Modifier and Type | Method and Description |
---|---|
static org.jboss.dmr.ModelNode |
createServerAddOperation(PathAddress address,
org.jboss.dmr.ModelNode fileHandler) |
protected FileAuditLogHandlerResourceDefinition.HandlerWriteAttributeHandler |
getWriteAttributeHandler(ManagedAuditLogger auditLogger,
PathManagerService pathManager,
AttributeDefinition... attributeDefinitions) |
protected static <T> T[] |
joinArrays(T[] array1,
T[] array2) |
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
registerOperations
getAccessConstraints, getDeprecationData, getDescriptionProvider, getFlagsSet, getPathElement, getResourceDescriptionResolver, isOrderedChild, isRuntime, registerAddOperation, registerAddOperation, registerCapabilities, registerChildren, registerNotifications, registerRemoveOperation, registerRemoveOperation, setDeprecated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaxOccurs, getMinOccurs
public static final SimpleAttributeDefinition PATH
public static final SimpleAttributeDefinition RELATIVE_TO
protected static final AttributeDefinition[] ATTRIBUTES
public FileAuditLogHandlerResourceDefinition(ManagedAuditLogger auditLogger, PathManagerService pathManager)
public FileAuditLogHandlerResourceDefinition(ManagedAuditLogger auditLogger, PathManagerService pathManager, PathElement pathElement, ResourceDescriptionResolver descriptionResolver, OperationStepHandler addHandler, OperationStepHandler removeHandler)
public static org.jboss.dmr.ModelNode createServerAddOperation(PathAddress address, org.jboss.dmr.ModelNode fileHandler)
public void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerAttributes
in interface ResourceDefinition
registerAttributes
in class AuditLogHandlerResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionprotected FileAuditLogHandlerResourceDefinition.HandlerWriteAttributeHandler getWriteAttributeHandler(ManagedAuditLogger auditLogger, PathManagerService pathManager, AttributeDefinition... attributeDefinitions)
protected static <T> T[] joinArrays(T[] array1, T[] array2)
Copyright © 2023 JBoss by Red Hat. All rights reserved.