[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations ...
Gavin King
gavin.king at jboss.com
Wed Jul 26 17:51:04 EDT 2006
User: gavin
Date: 06/07/26 17:51:04
Added: src/main/org/jboss/seam/annotations Interceptor.java
Log:
client-side interceptors
Revision Changes Path
1.1 date: 2006/07/26 21:51:04; author: gavin; state: Exp;jboss-seam/src/main/org/jboss/seam/annotations/Interceptor.java
Index: Interceptor.java
===================================================================
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;
import org.jboss.seam.InterceptorType;
/**
* Annotates an interceptor class and specifies what
* kind of interceptor it is (client side or server
* side).
*
* @author Gavin King
*/
@Target(TYPE)
@Retention(RUNTIME)
@Documented
public @interface Interceptor
{
InterceptorType type() default InterceptorType.SERVER;
}
More information about the jboss-cvs-commits
mailing list