public abstract class AbstractLegacyExtension extends Object implements Extension
Extension implementations where the extension is no longer supported
for use on current version servers but is supported on host controllers in order to allow use
of the extension on legacy version hosts in a mixed-version domain.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLegacyExtension(String extensionName,
String... subsystemNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(ExtensionContext context)
Initialize this extension by registering its operation handlers and configuration
marshaller with the given
ExtensionContext. |
protected abstract Set<ManagementResourceRegistration> |
initializeLegacyModel(ExtensionContext context)
Perform the work that a non-legacy extension would perform in
initialize(org.jboss.as.controller.ExtensionContext),
except no handler for the describe operation should be registered. |
protected abstract void |
initializeLegacyParsers(ExtensionParsingContext context)
Perform the work that a non-legacy extension would perform in
initializeParsers(org.jboss.as.controller.parsing.ExtensionParsingContext). |
void |
initializeParsers(ExtensionParsingContext context)
Initialize the XML parsers for this extension and register them with the given
ExtensionParsingContext. |
public void initialize(ExtensionContext context)
ExtensionExtensionContext.
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 Extensioncontext - the extension contextpublic void initializeParsers(ExtensionParsingContext context)
ExtensionExtensionParsingContext.
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 Extensioncontext - the extension parsing contextprotected abstract Set<ManagementResourceRegistration> initializeLegacyModel(ExtensionContext context)
initialize(org.jboss.as.controller.ExtensionContext),
except no handler for the describe operation should be registered.context - the extension contextManagementResourceRegistration for all subsystems that were registered.
The calling method will register a describe operation handler for each of theseprotected abstract void initializeLegacyParsers(ExtensionParsingContext context)
initializeParsers(org.jboss.as.controller.parsing.ExtensionParsingContext).context - the extension parsing contextCopyright © 2021 JBoss by Red Hat. All rights reserved.