Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.annotation
Annotation Type Autowire


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

A system annotation to inject an autowired instance

Version:
$Rev: 439728 $ $Date: 2006-09-02 23:02:44 -0700 (Sat, 02 Sep 2006) $

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

name

public abstract String name
The name of the autowire. 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:
true

Apache Tuscany SCA Kernel Sub-Project

-