Interface ConfigBeanFactory<T>

Type Parameters:
T - type of the config bean
All Known Subinterfaces:
ConfiguredServiceProvider<T,CB>
All Known Implementing Classes:
ConfigDrivenServiceProviderBase

public interface ConfigBeanFactory<T>
Used from generated code. Represents the required information to handle config beans, either from ConfigBean annotation, or from other means.
  • Method Details

    • createConfigBeans

      List<NamedInstance<T>> createConfigBeans(Config config)
      Create instances from configuration.
      Parameters:
      config - configuration to use (root configuration instance)
      Returns:
      list of config bean instances
    • configBeanType

      Class<T> configBeanType()
      Type of config bean.
      Returns:
      bean type