|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface InjectedDsoInstance
Indicates that the annotated field has to be injected with an instance by Terracotta DSO.
Note that for this to work, the field's class also has to be included in the instrumented classes.
By default, the type of the injected instance will be determined by the type of the field. If the type isn't
supported by DSO, an UnsupportedInjectedDsoInstanceTypeException
exception will be thrown when classes are
being instrumented.
Optional Element Summary | |
---|---|
java.lang.String |
value
Specifies a custom field type for injection. |
public abstract java.lang.String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |