Interface IAppExtension6

All Superinterfaces:
IAppExtension
All Known Implementing Classes:
AppExtension, LMAppExtension

public interface IAppExtension6 extends IAppExtension
Optional extension callback for consumers of the server's centrally prepared XML configuration. Implementations may override the ordinary or repository-aware start method. Unimplemented callbacks fail explicitly so a configuration lifecycle cannot silently skip an extension.
Since:
4.27
Author:
Eike Stepper
  • Field Summary

    Fields inherited from interface IAppExtension

    EXT_POINT
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    start(IRepository[] repositories, org.eclipse.net4j.util.XMLConfiguration configuration)
    Starts a repository-aware extension with repositories and the prepared configuration.
    default void
    start(org.eclipse.net4j.util.XMLConfiguration configuration)
    Starts an ordinary extension with the prepared configuration.

    Methods inherited from interface IAppExtension

    start, stop
  • Method Details

    • start

      default void start(org.eclipse.net4j.util.XMLConfiguration configuration) throws Exception
      Starts an ordinary extension with the prepared configuration.
      Parameters:
      configuration - the immutable prepared configuration snapshot
      Throws:
      Exception - if startup fails
      UnsupportedOperationException - if the extension does not implement prepared-configuration startup
    • start

      default void start(IRepository[] repositories, org.eclipse.net4j.util.XMLConfiguration configuration) throws Exception
      Starts a repository-aware extension with repositories and the prepared configuration.
      Parameters:
      repositories - configured repositories
      configuration - the immutable prepared configuration snapshot
      Throws:
      Exception - if startup fails
      UnsupportedOperationException - if neither prepared-configuration callback is implemented