Interface ConfigurationExtension<P extends ExtendedConfiguration>

Type Parameters:
P - the parent configuration type this extension is designed for
All Superinterfaces:
DescribableComponent
All Known Implementing Classes:
DeadLetterQueueConfiguration

@Internal public interface ConfigurationExtension<P extends ExtendedConfiguration> extends DescribableComponent
A modular extension of an ExtendedConfiguration. Parameterized with the parent configuration type P so that implementations get full typed access to the parent's API.

Extensions are pure data — they hold settings but carry no behavior. Behavior that acts on extension data belongs in a ConfigurationEnhancer.

Extensions are registered via ExtensibleConfigurer.extend(Class, java.util.function.Supplier) and retrieved via ExtendedConfiguration.extension(Class). No reflection is used — the factory function provided at registration time is responsible for creating the extension instance.

Since:
5.1.0
Author:
Mateusz Nowak
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of this configuration extension.
    void
    Validates this extension's settings.

    Methods inherited from interface org.axonframework.common.infra.DescribableComponent

    describeTo
  • Method Details