org.osoa.sca.annotations
Annotation Type Reference


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

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

Version:
$Rev: 431035 $ $Date: 2006-08-12 06:54:25 -0700 (Sat, 12 Aug 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


Copyright © 2006 Apache Software Foundation. All Rights Reserved.