[jboss-cvs] JBossCache/src/org/jboss/cache/pojo/annotation ...
Ben Wang
bwang at jboss.com
Sat Jan 13 10:55:05 EST 2007
User: bwang
Date: 07/01/13 10:55:05
Added: src/org/jboss/cache/pojo/annotation Find.java
Transient.java Replicable.java Serializable.java
Tx.java TxUndo.java Detach.java Attach.java
CheckIdValidity.java Reentrant.java
Log:
JBCACHE-922 Merged src-50 and tests-50 into src and tests, respectively.
Revision Changes Path
1.1 date: 2007/01/13 15:55:05; author: bwang; state: Exp;JBossCache/src/org/jboss/cache/pojo/annotation/Find.java
Index: Find.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.pojo.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
/** Annotation for PojoCache interceptor stack. This one checks for tx.
*
* @author Ben Wang
* @version $Id: Find.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Find
{
}
1.1 date: 2007/01/13 15:55:05; author: bwang; state: Exp;JBossCache/src/org/jboss/cache/pojo/annotation/Transient.java
Index: Transient.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.pojo.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annoataion that declares a field is transient (i.e., no-replicatable).
*
* @author Ben Wang
* Date: Jan 22, 2006
* @version $Id: Transient.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Transient
{
}
1.1 date: 2007/01/13 15:55:05; author: bwang; state: Exp;JBossCache/src/org/jboss/cache/pojo/annotation/Replicable.java
Index: Replicable.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.pojo.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annoataion that wraps the Prepare annotation of JBossAop.
*
* @author Ben Wang
* Date: Jan 22, 2006
* @version $Id: Replicable.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Replicable
{
}
1.1 date: 2007/01/13 15:55:05; author: bwang; state: Exp;JBossCache/src/org/jboss/cache/pojo/annotation/Serializable.java
Index: Serializable.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.pojo.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 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.1 2007/01/13 15:55:05 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Serializable
{
}
1.1 date: 2007/01/13 15:55:05; author: bwang; state: Exp;JBossCache/src/org/jboss/cache/pojo/annotation/Tx.java
Index: Tx.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.pojo.annotation;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
/** Annotation for PojoCache interceptor stack. This one checks for tx.
*
* @author Ben Wang
* @version $Id: Tx.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Tx
{
}
1.1 date: 2007/01/13 15:55:05; author: bwang; state: Exp;JBossCache/src/org/jboss/cache/pojo/annotation/TxUndo.java
Index: TxUndo.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.pojo.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
/** Annotation for PojoCache interceptor stack. This one annotates method to provide rollback operation.
*
* @author Ben Wang
* @version $Id: TxUndo.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface TxUndo
{
}
1.1 date: 2007/01/13 15:55:05; author: bwang; state: Exp;JBossCache/src/org/jboss/cache/pojo/annotation/Detach.java
Index: Detach.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.pojo.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
/** Annotation for PojoCache interceptor stack. This one checks for tx.
*
* @author Ben Wang
* @version $Id: Detach.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Detach
{
}
1.1 date: 2007/01/13 15:55:05; author: bwang; state: Exp;JBossCache/src/org/jboss/cache/pojo/annotation/Attach.java
Index: Attach.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.pojo.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
/** Annotation for PojoCache interceptor stack. This one checks for tx.
*
* @author Ben Wang
* @version $Id: Attach.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Attach
{
}
1.1 date: 2007/01/13 15:55:05; author: bwang; state: Exp;JBossCache/src/org/jboss/cache/pojo/annotation/CheckIdValidity.java
Index: CheckIdValidity.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.pojo.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
/** Annotation for PojoCache interceptor stack. This one to check id validity.
*
* @author Ben Wang
* @version $Id: CheckIdValidity.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface CheckIdValidity
{
}
1.1 date: 2007/01/13 15:55:05; author: bwang; state: Exp;JBossCache/src/org/jboss/cache/pojo/annotation/Reentrant.java
Index: Reentrant.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.pojo.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annoataion that wraps the Prepare annotation of JBossAop.
*
* @author Ben Wang
* Date: Jan 22, 2006
* @version $Id: Reentrant.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Reentrant
{
}
More information about the jboss-cvs-commits
mailing list