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.

Version:
$Rev: 701389 $ $Date: 2008-10-03 19:55:27 +0530 (Fri, 03 Oct 2008) $

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


Copyright © 2009. All Rights Reserved.