Interface ComponentDependency<T>

  • Type Parameters:
    T - the type of the component role
    All Superinterfaces:
    ComponentRole<T>
    All Known Implementing Classes:
    DefaultComponentDependency

    public interface ComponentDependency<T>
    extends ComponentRole<T>
    Represents a component dependency.
    Since:
    1.7M1
    Version:
    $Id: 297a1e620d184e145f2217628174b29f82562559 $
    • Method Detail

      • getName

        String getName()
        Returns:
        the name of the injection point (can be the name of the field for field injection or the name of the method for method injection
      • getHints

        String[] getHints()
        Returns:
        a list of hints used when the mapping type is a collection or map so that only component implementations matching passed hints are injected