Interface IAppExtension6
- All Superinterfaces:
IAppExtension
- All Known Implementing Classes:
AppExtension, LMAppExtension
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 TypeMethodDescriptiondefault voidstart(IRepository[] repositories, org.eclipse.net4j.util.XMLConfiguration configuration) Starts a repository-aware extension with repositories and the prepared configuration.default voidstart(org.eclipse.net4j.util.XMLConfiguration configuration) Starts an ordinary extension with the prepared configuration.Methods inherited from interface IAppExtension
start, stop
-
Method Details
-
start
Starts an ordinary extension with the prepared configuration.- Parameters:
configuration- the immutable prepared configuration snapshot- Throws:
Exception- if startup failsUnsupportedOperationException- 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 repositoriesconfiguration- the immutable prepared configuration snapshot- Throws:
Exception- if startup failsUnsupportedOperationException- if neither prepared-configuration callback is implemented
-