org.kohsuke.stapler.interceptor
Annotation Type InterceptorAnnotation


@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface InterceptorAnnotation

Marks the annotation as an interceptor annotation, which executes before/after the method invocation of domain objects happen as a part of the request processing.

This mechanism is useful for performing declarative processing/check on domain objects, such as checking HTTP headers, performing the access control, etc.

Author:
Kohsuke Kawaguchi
See Also:
Interceptor, RequirePOST

Required Element Summary
 java.lang.Class<? extends Interceptor> value
          Actual interceptor logic.
 

Element Detail

value

public abstract java.lang.Class<? extends Interceptor> value
Actual interceptor logic. Must have a default constructor.



Copyright © 2012. All Rights Reserved.