[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations ...
Gavin King
gavin.king at jboss.com
Mon Oct 16 09:23:48 EDT 2006
User: gavin
Date: 06/10/16 09:23:48
Modified: src/main/org/jboss/seam/annotations Synchronized.java
Log:
fixed formatting
Revision Changes Path
1.5 +1 -32 jboss-seam/src/main/org/jboss/seam/annotations/Synchronized.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Synchronized.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Synchronized.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- Synchronized.java 16 Oct 2006 00:25:46 -0000 1.4
+++ Synchronized.java 16 Oct 2006 13:23:48 -0000 1.5
@@ -1,65 +1,34 @@
package org.jboss.seam.annotations;
-
-
import static java.lang.annotation.ElementType.TYPE;
-
import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-
import java.lang.annotation.Documented;
-
import java.lang.annotation.Retention;
-
import java.lang.annotation.Target;
-
-
/**
-
* Specifies that a stateful component has
-
* multiple concurrent clients, and so access
-
* to the component must be synchronized. This
-
* annotation is not required session scoped
-
* components, which are synchronized by default.
-
*
-
* @author Gavin King
-
*
-
*/
-
@Target(TYPE)
-
@Retention(RUNTIME)
-
@Documented
-
public @interface Synchronized
-
{
public static final int DEFAULT_TIMEOUT = 1000;
-
/**
-
* How long should we wait for the lock
-
* before throwing an exception?
-
*
-
* @return the timeout in milliseconds
-
*/
-
long timeout() default DEFAULT_TIMEOUT;
-
}
More information about the jboss-cvs-commits
mailing list