public class RootLoggerResourceDefinition extends SimpleResourceDefinition
SimpleResourceDefinition.Parameters
Modifier and Type | Field and Description |
---|---|
static String |
ROOT_LOGGER_ADD_HANDLER_OPERATION_NAME |
static String |
ROOT_LOGGER_ADD_OPERATION_NAME |
static String |
ROOT_LOGGER_ATTRIBUTE_NAME |
static String |
ROOT_LOGGER_CHANGE_LEVEL_OPERATION_NAME |
static String |
ROOT_LOGGER_PATH_NAME |
static String |
ROOT_LOGGER_REMOVE_HANDLER_OPERATION_NAME |
static String |
ROOT_LOGGER_REMOVE_OPERATION_NAME |
Constructor and Description |
---|
RootLoggerResourceDefinition(boolean includeLegacy) |
Modifier and Type | Method and Description |
---|---|
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.
|
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 String ROOT_LOGGER_ADD_OPERATION_NAME
public static final String ROOT_LOGGER_REMOVE_OPERATION_NAME
public static final String ROOT_LOGGER_CHANGE_LEVEL_OPERATION_NAME
public static final String ROOT_LOGGER_ADD_HANDLER_OPERATION_NAME
public static final String ROOT_LOGGER_REMOVE_HANDLER_OPERATION_NAME
public static final String ROOT_LOGGER_PATH_NAME
public static final String ROOT_LOGGER_ATTRIBUTE_NAME
public RootLoggerResourceDefinition(boolean includeLegacy)
public void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerAttributes
in interface ResourceDefinition
registerAttributes
in class SimpleResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionpublic void registerOperations(ManagementResourceRegistration registration)
SimpleResourceDefinition
registerOperations
in interface ResourceDefinition
registerOperations
in class SimpleResourceDefinition
registration
- a ManagementResourceRegistration
created from this definitionpublic 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 © 2023 JBoss by Red Hat. All rights reserved.