[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/annotation ...
Ben Wang
bwang at jboss.com
Thu Jul 13 00:26:07 EDT 2006
User: bwang
Date: 06/07/13 00:26:07
Added: src-50/org/jboss/cache/pojo/annotation Attach.java
Detach.java Find.java
Log:
Changed the interceptor stack to per-method base since 1) methods are few, 2) flexible configuration.
Revision Changes Path
1.1 date: 2006/07/13 04:26:07; author: bwang; state: Exp;JBossCache/src-50/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 2006/07/13 04:26:07 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Attach
{
}
1.1 date: 2006/07/13 04:26:07; author: bwang; state: Exp;JBossCache/src-50/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 2006/07/13 04:26:07 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Detach
{
}
1.1 date: 2006/07/13 04:26:07; author: bwang; state: Exp;JBossCache/src-50/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 2006/07/13 04:26:07 bwang Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Find
{
}
More information about the jboss-cvs-commits
mailing list