Class Injection
- java.lang.Object
-
- org.int4.dirk.core.definition.injection.Injection
-
public class Injection extends java.lang.ObjectA target and value to be injected. A target can be a field, method or constructor of the target class, and is leftnullwhen the value is a reference to the owner class when injecting non-static fields or methods.When the target is a method or constructor the order of the injections provided determines the order of the parameters.
-
-
Constructor Summary
Constructors Constructor Description Injection(java.lang.reflect.AccessibleObject target, java.lang.Object value)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.AccessibleObjectgetTarget()Returns the target.java.lang.ObjectgetValue()Returns the value.
-