[jboss-cvs] JBossCache/src/org/jboss/cache/aop/annotation ...
Manik Surtani
msurtani at jboss.com
Thu Jul 20 23:03:46 EDT 2006
User: msurtani
Date: 06/07/20 23:03:46
Added: src/org/jboss/cache/aop/annotation
InstanceOfPojoCacheable.java PojoCacheable.java
Serializable.java Transient.java
Log:
moved annotations
Revision Changes Path
1.1 date: 2006/07/21 03:03:46; author: msurtani; state: Exp;JBossCache/src/org/jboss/cache/aop/annotation/InstanceOfPojoCacheable.java
Index: InstanceOfPojoCacheable.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.aop.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
/**
* Annoataion that wraps the Prepare annotation of JBossAop.
*
* @author Ben Wang
* Date: Jan 22, 2006
* @version $Id: InstanceOfPojoCacheable.java,v 1.1 2006/07/21 03:03:46 msurtani Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface InstanceOfPojoCacheable {
}
1.1 date: 2006/07/21 03:03:46; author: msurtani; state: Exp;JBossCache/src/org/jboss/cache/aop/annotation/PojoCacheable.java
Index: PojoCacheable.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.aop.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
/**
* Annoataion that wraps the Prepare annotation of JBossAop.
*
* @author Ben Wang
* Date: Jan 22, 2006
* @version $Id: PojoCacheable.java,v 1.1 2006/07/21 03:03:46 msurtani Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface PojoCacheable {
}
1.5 +11 -4 JBossCache/src/org/jboss/cache/aop/annotation/Serializable.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Serializable.java
===================================================================
RCS file: Serializable.java
diff -N Serializable.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Serializable.java 21 Jul 2006 03:03:46 -0000 1.5
@@ -0,0 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+
+package org.jboss.cache.aop.annotation;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+
+/**
+ * Annoataion that declares a field is Serializable, i.e., use pure serialization for replication.
+ *
+ * @author Ben Wang
+ * Date: Jan 22, 2006
+ * @version $Id: Serializable.java,v 1.5 2006/07/21 03:03:46 msurtani Exp $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target(ElementType.FIELD)
+public @interface Serializable {
+}
1.5 +11 -4 JBossCache/src/org/jboss/cache/aop/annotation/Transient.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Transient.java
===================================================================
RCS file: Transient.java
diff -N Transient.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Transient.java 21 Jul 2006 03:03:46 -0000 1.5
@@ -0,0 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+
+package org.jboss.cache.aop.annotation;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+
+/**
+ * Annoataion that declares a field is transient (i.e., no-replicatable).
+ *
+ * @author Ben Wang
+ * Date: Jan 22, 2006
+ * @version $Id: Transient.java,v 1.5 2006/07/21 03:03:46 msurtani Exp $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target(ElementType.FIELD)
+public @interface Transient {
+}
More information about the jboss-cvs-commits
mailing list