Interface BeanDefinitionReference<T>

    • Method Detail

      • getBeanDefinitionName

        java.lang.String getBeanDefinitionName()
        Returns:
        The class name of the backing BeanDefinition
      • load

        BeanDefinition<T> load()
        Loads the bean definition.
        Returns:
        The loaded component definition or null if it shouldn't be loaded
      • load

        default BeanDefinition<T> load​(BeanContext context)
        Loads the bean definition for the current BeanContext.
        Parameters:
        context - The bean context
        Returns:
        The loaded bean definition or null if it shouldn't be loaded
      • isContextScope

        default boolean isContextScope()
        Returns:
        Is this class context scope
      • isPresent

        boolean isPresent()
        Returns:
        Is the underlying bean type present on the classpath
      • isSingleton

        default boolean isSingleton()
        Returns:
        Is this bean a singleton.
        Since:
        2.0
      • isConfigurationProperties

        default boolean isConfigurationProperties()
        Returns:
        Is this bean a configuration properties.
        Since:
        2.0