Package com.persequor.extension.ioc
Interface IExtensionPointConfiguration
public interface IExtensionPointConfiguration
IoC configuration module
Usage: This functions akin to the AbstractModule from Google Guice. The module has to be registered in the Saga configuration to be loaded by Saga, and acts as the entry point for registering custom extensions with the Saga system. Upon startup Saga will automatically call the configure method.
In the scope of a Saga Module (see ExtensionModule
) an implementation of this is where the module registers its extensions.
Example:
public void configure(IExtensionPointIoc iExtensionPointIoc) {
iExtensionPointIoc.bind(IService.class).to(CustomService.class);
}
Explore IExtensionPointIoc
to get an overview of the options for registering extensions.-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(IExtensionPointIoc baseIoc) Startup hook for the Saga system, for configuring the solution/module extensions
-
Method Details
-
configure
Startup hook for the Saga system, for configuring the solution/module extensions- Parameters:
baseIoc
- a provided Saga IoC class on which extensions can be registered
-