You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2007/02/25 21:20:10 UTC
svn commit: r511593 -
/incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Scope.java
Author: jboynes
Date: Sun Feb 25 12:20:09 2007
New Revision: 511593
URL: http://svn.apache.org/viewvc?view=rev&rev=511593
Log:
be consistent on scope name case
document that eager() is a spec error
fix javadoc warning
Modified:
incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Scope.java
Modified: incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Scope.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Scope.java?view=diff&rev=511593&r1=511592&r2=511593
==============================================================================
--- incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Scope.java (original)
+++ incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Scope.java Sun Feb 25 12:20:09 2007
@@ -25,6 +25,8 @@
/**
* Annotation used to indicate a scoped service.
+ * <p/>
+ * The spec refers to but does not describe an eager() attribute; this is an error in the draft.
*
* @version $Rev$ $Date$
*/
@@ -34,12 +36,14 @@
/**
* The name of the scope. Values currently defined by the specification are:
* <ul>
- * <li>stateless (default)</li>
- * <li>request</li>
- * <li>session</li>
- * <li>module</li>
- * <li>conversation</li>
+ * <li>STATELESS (default)</li>
+ * <li>REQUEST</li>
+ * <li>SESSION</li>
+ * <li>COMPOSITE</li>
+ * <li>CONVERSATION</li>
* </ul>
+ *
+ * @return the name of the scope
*/
String value() default "STATELESS";
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org