SCA API

org.osoa.sca.annotations
Annotation Type Property


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

Annotation used to indicate a field or method that is used to inject a configuration property value.

Version:
$Rev: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $

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

name

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

Default:
""

required

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

Default:
false

SCA API

-