SCA API

org.osoa.sca.annotations
Annotation Type Reference


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Reference

Annotation used to indicate a field or method that is used to inject a reference.

Version:
$Rev: 368822 $ $Date: 2006-01-13 13:54:38 -0500 (Fri, 13 Jan 2006) $

Optional Element Summary
 java.lang.String name
          The name of the reference.
 boolean required
          Indicates if a reference must be specified.
 

name

public abstract java.lang.String name
The name of the reference. If not specified then the name will be derived from the annotated field.

Default:
""

required

public abstract boolean required
Indicates if a reference must be specified.

Default:
false

SCA API

-