Interface ModuleConfiguration

All Known Subinterfaces:
AggregateConfiguration<A>
All Known Implementing Classes:
AggregateConfigurer, AxonIQConsoleModule, EventProcessingModule, EventProcessorInfoConfiguration, HeartbeatConfiguration

public interface ModuleConfiguration
Interface describing a module for the Axon Configuration API. These modules are relatively independent, but have access to the component available in the main Configuration.

Modules have callback methods for the initialization, start and shutdown phases of the application's lifecycle.

Since:
3.0
Author:
Allard Buijze
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initialize the module configuration using the given global config.
    default boolean
    isType(Class<?> type)
    Checks whether this Module Configuration is of the given type.
    default int
    Deprecated.
    a ModuleConfiguration's phase is no longer used, as distinct phases might be necessary for any of the start or shutdown processes added in the initialize(Configuration) method
    default void
    Deprecated.
    in favor of maintaining shutdown operations in the Component.
    default void
    Deprecated.
    in favor of maintaining start operations in the Component.
    Returns the actual module configuration instance.