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 a META-INF/services/org.jboss.as.controller.Extension file with a line containing the name of the implementation class.
Author:
David M. Lloyd
See Also:
  • Method Details

    • initialize

      void initialize(ExtensionContext context)
      Initialize this extension by registering its operation handlers and configuration marshaller with the given 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.

      Parameters:
      context - the extension context
    • initializeParsers

      void initializeParsers(ExtensionParsingContext context)
      Initialize the XML parsers for this extension and register them with the given 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.

      Parameters:
      context - the extension parsing context