Class Injector<T extends Annotation>
java.lang.Object
aQute.lib.inject.Injector<T>
- Type Parameters:
T- the annotation type
This class is a simple injector with a parameterized annotation. A domain
function is provided to retrieve the values.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Target class describes the target injection point. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Injector
-
Injector
-
-
Method Details
-
inject
Inject an object. This will inject fields and methods. Methods must have one or more arguments. The first argument is special and is always passed to the domain function as the primaryType.- Parameters:
target- the target object to inject- Throws:
Exception
-
newInstance
-