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.

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

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"


Copyright © 2009. All Rights Reserved.