public class LoggingExtension extends Object implements Extension
Modifier and Type | Class and Description |
---|---|
static class |
LoggingExtension.LoggingChildResourceComparator |
Modifier and Type | Field and Description |
---|---|
static String |
SUBSYSTEM_NAME |
Constructor and Description |
---|
LoggingExtension() |
Modifier and Type | Method and Description |
---|---|
static ResourceDescriptionResolver |
getResourceDescriptionResolver(String... keyPrefix)
Returns a resource description resolver that uses common descriptions for some attributes.
|
void |
initialize(ExtensionContext context)
Initialize this extension by registering its operation handlers and configuration
marshaller with the given
ExtensionContext . |
void |
initializeParsers(ExtensionParsingContext context)
Initialize the XML parsers for this extension and register them with the given
ExtensionParsingContext . |
public static final String SUBSYSTEM_NAME
public static ResourceDescriptionResolver getResourceDescriptionResolver(String... keyPrefix)
keyPrefix
- the prefix to be appended to the SUBSYSTEM_NAME
public void initialize(ExtensionContext context)
Extension
ExtensionContext
.
When this method is invoked the thread context classloader
will
be set to be the defining class loader of the class that implements this interface.
initialize
in interface Extension
context
- the extension contextpublic void initializeParsers(ExtensionParsingContext context)
Extension
ExtensionParsingContext
.
When this method is invoked the thread context classloader
will
be set to be the defining class loader of the class that implements this interface.
initializeParsers
in interface Extension
context
- the extension parsing contextCopyright © 2023 JBoss by Red Hat. All rights reserved.