Interface BeanDefinition

All Known Implementing Classes:
BeanDefinitionBean

public interface BeanDefinition
Provide a definition of a bean.
Author:
rob
See Also:
  • Method Details

    • getInterceptor

      ParsingInterceptor getInterceptor()
      Getter the parsing for interceptor.
      Returns:
      A Parsing Interceptor or null if not set.
    • getClassName

      String getClassName()
      Getter for class name;
      Returns:
    • getDesignFactory

      String getDesignFactory()
      Getter for design factory.
      Returns:
      A Design Factory class name or null if not provided.
    • getDesign

      DesignFactory getDesign()
      Getter for Design. Either this or a class name can be provided.
      Returns:
      A Design Factory or null.
    • getElement

      String getElement()
      Get the element name.
      Returns:
      The element name for this bean. Must not be null.
    • toPropertyDefinitions

      Collection<PropertyDefinitionBean> toPropertyDefinitions()
      Convert the property definitions to a collection.
      Returns:
      A Collection of Property Definitions. Might be empty, will not be null.
    • toAnnotationDefinitions

      Collection<AnnotationDefinitionBean> toAnnotationDefinitions()
      Convert annotations to a collection.
      Returns:
      A collection of Annotation Definitions. Might be empty, will not be null.