Interface ClassDependencies
-
- All Known Implementing Classes:
ClassDependenciesManager
public interface ClassDependencies
Class
dependencies.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassDependencyFactory
createClassDependencyFactory(java.lang.reflect.Executable executable, int parameterIndex, java.lang.String qualifier)
ClassDependencyFactory
createClassDependencyFactory(java.lang.reflect.Field field, java.lang.String qualifier)
Creates theClassDependencyFactory
for aField
.ClassDependencyFactory
createClassDependencyFactory(java.lang.String dependencyName, java.lang.Class<?> dependencyType, java.lang.String qualifier)
Creates aClassDependencyFactory
of a particularClass
.
-
-
-
Method Detail
-
createClassDependencyFactory
ClassDependencyFactory createClassDependencyFactory(java.lang.reflect.Field field, java.lang.String qualifier) throws java.lang.Exception
Creates theClassDependencyFactory
for aField
.- 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
- Parameters:
executable
-Executable
.parameterIndex
- Index of theParameter
.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 aClassDependencyFactory
of a particularClass
.- Parameters:
dependencyName
- Name of dependency.dependencyType
-Class
of the dependency.qualifier
- Qualifier.- Returns:
ClassDependencyFactory
.- Throws:
java.lang.Exception
- If fails to create.
-
-