Package org.jboss.as.controller
Interface Extension
-
- All Superinterfaces:
Feature
- All Known Implementing Classes:
AbstractLegacyExtension
public interface Extension extends Feature
An extension to the JBoss Application Server. Implementations of this interface should have a zero-arg constructor. Extension modules must contain aMETA-INF/services/org.jboss.as.controller.Extension
file with a line containing the name of the implementation class.- Author:
- David M. Lloyd
- See Also:
ServiceLoader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initialize(ExtensionContext context)
Initialize this extension by registering its operation handlers and configuration marshaller with the givenExtensionContext
.void
initializeParsers(ExtensionParsingContext context)
Initialize the XML parsers for this extension and register them with the givenExtensionParsingContext
.-
Methods inherited from interface org.jboss.as.controller.Feature
getStability
-
-
-
-
Method Detail
-
initialize
void initialize(ExtensionContext context)
Initialize this extension by registering its operation handlers and configuration marshaller with the givenExtensionContext
.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.- Parameters:
context
- the extension context
-
initializeParsers
void initializeParsers(ExtensionParsingContext context)
Initialize the XML parsers for this extension and register them with the givenExtensionParsingContext
.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.- Parameters:
context
- the extension parsing context
-
-