Interface BeanContextConfiguration

All Known Subinterfaces:
ApplicationContextConfiguration
All Known Implementing Classes:
DefaultApplicationContextBuilder, Micronaut

public interface BeanContextConfiguration
Configuration for the BeanContext.
Since:
1.1
Author:
graemerocher
  • Method Details

    • isAllowEmptyProviders

      default boolean isAllowEmptyProviders()
      Returns:
      If a NoSuchBeanException should be thrown on a missing BeanProvider or Provider
      Since:
      3.0.0
    • getClassLoader

      @NonNull default @NonNull ClassLoader getClassLoader()
      The class loader to use.
      Returns:
      The class loader.
    • isEagerInitSingletons

      default boolean isEagerInitSingletons()
      Whether eager initialization of singletons is enabled.
      Returns:
      True if eager initialization of singletons is enabled
      Since:
      2.0
    • isEagerInitConfiguration

      default boolean isEagerInitConfiguration()
      Whether eager initialization of ConfigurationProperties is enabled.
      Returns:
      True if eager initialization of configuration is enabled
      Since:
      2.0
    • getEagerInitAnnotated

      default Set<Class<? extends Annotation>> getEagerInitAnnotated()
      Returns:
      A set of annotated classes that should be eagerly initialized