com.tc.injection.annotations
Annotation Type InjectedDsoInstance


@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.
 

value

public abstract java.lang.String value
Specifies a custom field type for injection.

Default:
""


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.