Package org.jboss.as.logging.loggers
Class LoggerResourceDefinition
- java.lang.Object
-
- org.jboss.as.controller.SimpleResourceDefinition
-
- org.jboss.as.logging.TransformerResourceDefinition
-
- org.jboss.as.logging.loggers.LoggerResourceDefinition
-
- All Implemented Interfaces:
ResourceDefinition
public class LoggerResourceDefinition extends TransformerResourceDefinition
- Author:
- Tomaz Cerar, James R. Perkins
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.as.controller.SimpleResourceDefinition
SimpleResourceDefinition.Parameters
-
-
Field Summary
Fields Modifier and Type Field Description static OperationDefinitionADD_HANDLER_OPERATIONstatic SimpleAttributeDefinitionCATEGORYstatic OperationDefinitionCHANGE_LEVEL_OPERATIONstatic OperationDefinitionLEGACY_ADD_HANDLER_OPERATIONstatic OperationDefinitionLEGACY_REMOVE_HANDLER_OPERATIONstatic StringNAMEstatic OperationDefinitionREMOVE_HANDLER_OPERATIONstatic PropertyAttributeDefinitionUSE_PARENT_HANDLERS
-
Constructor Summary
Constructors Constructor Description LoggerResourceDefinition(boolean includeLegacy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidregisterAttributes(ManagementResourceRegistration resourceRegistration)voidregisterOperations(ManagementResourceRegistration registration)voidregisterTransformers(KnownModelVersion modelVersion, ResourceTransformationDescriptionBuilder rootResourceBuilder, ResourceTransformationDescriptionBuilder loggingProfileBuilder)Register the transformers for the resource.-
Methods inherited from class org.jboss.as.controller.SimpleResourceDefinition
getAccessConstraints, getDeprecationData, getDescriptionProvider, getFlagsSet, getMaxOccurs, getMinOccurs, getPathElement, getResourceDescriptionResolver, isFeature, isOrderedChild, isRuntime, registerAdditionalRuntimePackages, registerAddOperation, registerAddOperation, registerCapabilities, registerChildren, registerNotifications, registerRemoveOperation, registerRemoveOperation, setDeprecated
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
CHANGE_LEVEL_OPERATION
public static final OperationDefinition CHANGE_LEVEL_OPERATION
-
LEGACY_ADD_HANDLER_OPERATION
public static final OperationDefinition LEGACY_ADD_HANDLER_OPERATION
-
LEGACY_REMOVE_HANDLER_OPERATION
public static final OperationDefinition LEGACY_REMOVE_HANDLER_OPERATION
-
ADD_HANDLER_OPERATION
public static final OperationDefinition ADD_HANDLER_OPERATION
-
REMOVE_HANDLER_OPERATION
public static final OperationDefinition REMOVE_HANDLER_OPERATION
-
USE_PARENT_HANDLERS
public static final PropertyAttributeDefinition USE_PARENT_HANDLERS
-
CATEGORY
public static final SimpleAttributeDefinition CATEGORY
-
-
Method Detail
-
registerAttributes
public void registerAttributes(ManagementResourceRegistration resourceRegistration)
- Specified by:
registerAttributesin interfaceResourceDefinition- Overrides:
registerAttributesin classSimpleResourceDefinition
-
registerOperations
public void registerOperations(ManagementResourceRegistration registration)
- Specified by:
registerOperationsin interfaceResourceDefinition- Overrides:
registerOperationsin classSimpleResourceDefinition
-
registerTransformers
public void registerTransformers(KnownModelVersion modelVersion, ResourceTransformationDescriptionBuilder rootResourceBuilder, ResourceTransformationDescriptionBuilder loggingProfileBuilder)
Description copied from class:TransformerResourceDefinitionRegister the transformers for the resource.- Specified by:
registerTransformersin classTransformerResourceDefinition- Parameters:
modelVersion- the model version we're registeringrootResourceBuilder- the builder for the root resourceloggingProfileBuilder- the builder for the logging profile,nullif the profile was rejected
-
-