Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.jboss.seam.annotations.intercept
Annotation Type Interceptor

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

Annotates an interceptor class and specifies what kind of interceptor it is (client side or server side), and its ordering with respect to other interceptors in the stack.

Author:
  Gavin King

Optional Element Summary
`Class[]` | `around` Specifies that an interceptor is called "around" another interceptor or interceptors.
`boolean` | `stateless` Performance optimization for stateless interceptors.
`InterceptorType` | `type` Specifies that the interceptor is a SERVER or CLIENT side interceptor.
`Class[]` | `within` Specifies that an interceptor is called "within" another interceptor or interceptors.

### type

    public abstract InterceptorType type

  Specifies that the interceptor is a SERVER or CLIENT side interceptor.

  Returns:
    SERVER by default
  Default:
    SERVER

### around

    public abstract Class[] around

  Specifies that an interceptor is called "around" another interceptor or interceptors.

  Default:
    {}

### within

    public abstract Class[] within

  Specifies that an interceptor is called "within" another interceptor or interceptors.

  Default:
    {}

### stateless

    public abstract boolean stateless

  Performance optimization for stateless interceptors.

  Default:
    false

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT