Class ComponentDescriptorFactory


  • public class ComponentDescriptorFactory
    extends Object
    Constructs a Component Descriptor out of a class definition that contains Annotations.
    Since:
    1.8.1
    Version:
    $Id: ecb5666e76f35d32322b08e7dec22c65c2547471 $
    See Also:
    ComponentAnnotationLoader
    • Constructor Detail

      • ComponentDescriptorFactory

        public ComponentDescriptorFactory()
    • Method Detail

      • createComponentDescriptors

        @Deprecated
        public <T> List<ComponentDescriptor<T>> createComponentDescriptors​(Class<? extends T> componentClass,
                                                                           Class<?> componentRoleClass)
        Deprecated.
        Create component descriptors for the passed component implementation class and component role class. There can be more than one descriptor if the component class has specified several hints.
        Type Parameters:
        T - the described class type
        Parameters:
        componentClass - the component implementation class
        componentRoleClass - the component role class
        Returns:
        the component descriptors with resolved component dependencies
      • createComponentDescriptors

        public <T> List<ComponentDescriptor<T>> createComponentDescriptors​(Class<? extends T> componentClass,
                                                                           Type componentRoleType)
        Create component descriptors for the passed component implementation class and component role class. There can be more than one descriptor if the component class has specified several hints.
        Type Parameters:
        T - the described class type
        Parameters:
        componentClass - the component implementation class
        componentRoleType - the component role type
        Returns:
        the component descriptors with resolved component dependencies
        Since:
        4.0M1