|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface InjectInto
Annotation indicating that the the InjectModule
should try to inject the object assigned to
the annotated field to the object defined by the target attribute (or the object(s) assigned to the field annotated
with TestedObject
.
property()
attribute.
Required Element Summary | |
---|---|
String |
property
OGNL expression that defines the property to which the object referenced by the annotated field is injected |
Optional Element Summary | |
---|---|
String |
target
The name of the field that references the object to which the object in the annotated field should be injected. |
Element Detail |
---|
public abstract String property
public abstract String target
TestedObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |