public class LoggerResourceDefinition extends SimpleResourceDefinition
| Modifier and Type | Field and Description |
|---|---|
static SimpleAttributeDefinition |
CATEGORY |
static String |
CHANGE_LEVEL_OPERATION_NAME |
static String |
LEGACY_ADD_HANDLER_OPERATION_NAME |
static String |
LEGACY_REMOVE_HANDLER_OPERATION_NAME |
static String |
LOGGER |
static PropertyAttributeDefinition |
USE_PARENT_HANDLERS |
| Constructor and Description |
|---|
LoggerResourceDefinition(boolean includeLegacy) |
| Modifier and Type | Method and Description |
|---|---|
List<AccessConstraintDefinition> |
getAccessConstraints()
Get the definition of any access constraints associated with the resource.
|
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
void |
registerOperations(ManagementResourceRegistration registration)
Register operations associated with this resource.
|
void |
registerTransformers(org.jboss.as.logging.KnownModelVersion modelVersion,
ResourceTransformationDescriptionBuilder rootResourceBuilder,
ResourceTransformationDescriptionBuilder loggingProfileBuilder)
Register the transformers for the resource.
|
getDescriptionProvider, getFlagsSet, getPathElement, getResourceDescriptionResolver, registerAddOperation, registerAddOperation, registerChildren, registerRemoveOperation, registerRemoveOperationpublic static final String CHANGE_LEVEL_OPERATION_NAME
public static final String LEGACY_ADD_HANDLER_OPERATION_NAME
public static final String LEGACY_REMOVE_HANDLER_OPERATION_NAME
public static final String LOGGER
public static final PropertyAttributeDefinition USE_PARENT_HANDLERS
public static final SimpleAttributeDefinition CATEGORY
public void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinitionregisterAttributes in interface ResourceDefinitionregisterAttributes in class SimpleResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionpublic void registerOperations(ManagementResourceRegistration registration)
SimpleResourceDefinitionregisterOperations in interface ResourceDefinitionregisterOperations in class SimpleResourceDefinitionregistration - a ManagementResourceRegistration created from this definitionpublic List<AccessConstraintDefinition> getAccessConstraints()
SimpleResourceDefinitiongetAccessConstraints in interface ConstrainedResourceDefinitiongetAccessConstraints in class SimpleResourceDefinitionpublic void registerTransformers(org.jboss.as.logging.KnownModelVersion modelVersion,
ResourceTransformationDescriptionBuilder rootResourceBuilder,
ResourceTransformationDescriptionBuilder loggingProfileBuilder)
modelVersion - the model version we're registeringrootResourceBuilder - the builder for the root resourceloggingProfileBuilder - the builder for the logging profile, null if the profile was rejectedCopyright © 2014 JBoss by Red Hat. All rights reserved.