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 javax.xml.namespace.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.


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:
""