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

For more information, please explore the Attic.


org.osoa.sca.annotations
Annotation Type Requires


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

Annotation that allows the attachment of any intent to a Java Class or interface or to members of that class such as methods, fields or constructor parameters.

Intents are specified as XML QNames in the representation defined by QName.toString(). Intents may be qualified with one or more suffixes separated by a "." such as:

This annotation supports general purpose intents specified as strings. Users may also define specific intents using the @org.osoa.sca.annotations.Intent annotation.

Version:
$Rev: 537744 $ $Date: 2007-05-14 09:00:18 +0100 (Mon, 14 May 2007) $

Optional Element Summary
 java.lang.String[] value
          Returns the attached intents.
 

value

public abstract java.lang.String[] value
Returns the attached intents.

Returns:
the attached intents
Default:
""