org.osoa.sca.annotations
Annotation Type Scope


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Scope

Annotation used to indicate a scoped service.

The spec refers to but does not describe an eager() attribute; this is an error in the draft.


Optional Element Summary
 java.lang.String value
          The name of the scope.
 

value

public abstract java.lang.String value
The name of the scope. Values currently defined by the specification are:

Returns:
the name of the scope
Default:
"STATELESS"