Interface BeanConfiguration

All Superinterfaces:
AnnotationMetadataProvider, AnnotationSource, BeanContextConditional
All Known Implementing Classes:
AbstractBeanConfiguration

public interface BeanConfiguration extends AnnotationMetadataProvider, BeanContextConditional
A BeanConfiguration is a grouping of several BeanDefinition instances.
Since:
1.0
Author:
Graeme Rocher
  • Method Details

    • getPackage

      Package getPackage()
      Returns:
      The package for the bean configuration
    • getName

      String getName()
      Returns:
      The package name this configuration
    • getVersion

      String getVersion()
      The version of this configuration. Note: returns null when called on a configuration not provided by a JAR.
      Returns:
      The version or null
    • isWithin

      boolean isWithin(BeanDefinitionReference beanDefinitionReference)
      Check whether the specified bean definition class is within this bean configuration.
      Parameters:
      beanDefinitionReference - The bean definition class
      Returns:
      True if it is
    • isWithin

      boolean isWithin(String className)
      Check whether the specified class is within this bean configuration.
      Parameters:
      className - The class name
      Returns:
      True if it is
    • isWithin

      default boolean isWithin(Class cls)
      Check whether the specified class is within this bean configuration.
      Parameters:
      cls - The class
      Returns:
      True if it is