DRAFT

javax.interceptor
Annotation Type Interceptor


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public @interface Interceptor

Specifies that a class is an interceptor.

 @Interceptor
 public class ValidationInterceptor { ... }
 

This annotation is optional if @Interceptors or the EJB deployment descriptor are used to associate the interceptor with the target class. It is required when an interceptor binding is used.

See Also:
Interceptors


DRAFT

Submit a bug or feature

Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.

Generated on 24-November-2009 03:24