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

For more information, please explore the Attic.


org.osoa.sca.annotations
Annotation Type Property


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

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

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 property.
 boolean required
          Indicates whether a value for the property must be provided.
 

name

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

Returns:
the name of the property
Default:
""

required

public abstract boolean required
Indicates whether a value for the property must be provided.

Returns:
true if a value must be provided
Default:
false