Interface ClassDependencies

  • All Known Implementing Classes:
    ClassDependenciesManager

    public interface ClassDependencies
    Class dependencies.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • createClassDependencyFactory

        ClassDependencyFactory createClassDependencyFactory​(java.lang.reflect.Field field,
                                                            java.lang.String qualifier)
                                                     throws java.lang.Exception
        Creates the ClassDependencyFactory for a Field.
        Parameters:
        field - Field.
        qualifier - Qualifier.
        Returns:
        ClassDependencyFactory.
        Throws:
        java.lang.Exception - If fails to create.
      • createClassDependencyFactory

        ClassDependencyFactory createClassDependencyFactory​(java.lang.reflect.Executable executable,
                                                            int parameterIndex,
                                                            java.lang.String qualifier)
                                                     throws java.lang.Exception
        Creates the ClassDependencyFactory for an Executable Parameter.
        Parameters:
        executable - Executable.
        parameterIndex - Index of the Parameter.
        qualifier - Qualifier.
        Returns:
        ClassDependencyFactory.
        Throws:
        java.lang.Exception - If fails to create.
      • createClassDependencyFactory

        ClassDependencyFactory createClassDependencyFactory​(java.lang.String dependencyName,
                                                            java.lang.Class<?> dependencyType,
                                                            java.lang.String qualifier)
                                                     throws java.lang.Exception
        Creates a ClassDependencyFactory of a particular Class.
        Parameters:
        dependencyName - Name of dependency.
        dependencyType - Class of the dependency.
        qualifier - Qualifier.
        Returns:
        ClassDependencyFactory.
        Throws:
        java.lang.Exception - If fails to create.