Interface DynamicModuleMetadataProvider


public interface DynamicModuleMetadataProvider
Modules implementing ModuleLifecycle might need additional control over the created components. They can hook into the module metadata building process during startup by implementing this interface which allows them to register additional component metadata dynamically.

This interface is currently experimental, it does not constitute a public API and is only used for internal testing purposes.

Since:
10.0
Author:
anistor@redhat.com
  • Method Details

    • registerDynamicMetadata

      void registerDynamicMetadata(ModuleMetadataBuilder.ModuleBuilder moduleBuilder, GlobalConfiguration globalConfiguration)
      Use the provided builder to add additional component metadata. Use the GlobalConfiguration to access configuration, global or per-module (see GlobalConfiguration.module)
      Parameters:
      moduleBuilder -
      globalConfiguration -