2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.


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: 537744 $ $Date: 2007-05-14 09:00:18 +0100 (Mon, 14 May 2007) $

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 or method.

Returns:
the name of the reference
Default:
""

required

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

Returns:
true if a reference must be specified
Default:
true