Interface ExtendedConfiguration

All Known Implementing Classes:
EventProcessorConfiguration, PooledStreamingEventProcessorConfiguration, SubscribingEventProcessorConfiguration

@Internal public interface ExtendedConfiguration
A configuration that supports reading modular ConfigurationExtension instances.

Extensions must be registered first via ExtensibleConfigurer.extend(Class, java.util.function.Supplier). If no extension of the requested type has been registered, null is returned.

For registering extensions, see ExtensibleConfigurer.

Since:
5.1.0
Author:
Mateusz Nowak
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends ConfigurationExtension<?>>
    @Nullable T
    extension(Class<T> extensionType)
    Returns the extension of the given type, or null if no extension of that type has been registered.
  • Method Details

    • extension

      <T extends ConfigurationExtension<?>> @Nullable T extension(Class<T> extensionType)
      Returns the extension of the given type, or null if no extension of that type has been registered.

      Returns the instance created by the factory registered via ExtensibleConfigurer.extend(Class, java.util.function.Supplier).

      Type Parameters:
      T - the extension type
      Parameters:
      extensionType - the extension class
      Returns:
      the extension instance, or null if not registered