public interface InterceptorBindingBuilder<T> extends MethodBinder<T>
An intermediate builder used by InterceptorBuilder to bind a set of
methods on the target type to the given interceptors. Clients should not refer to
this class directly but instead use the fluent API documented here.
| Modifier and Type | Method and Description |
|---|---|
InterceptorCreator<T> |
using(Class<? extends Annotation> methodMarker,
org.aopalliance.intercept.MethodInterceptor... interceptors)
Uses the annotation to selectively bind methods on the class of type
T to the given
chain of interceptors. |
InterceptorCreator<T> |
using(MethodFilter filter,
InterceptorFactory factory)
Uses the given method filter to selectively bind methods on the class of type
T to
a chain of interceptors produced by the given factory. |
InterceptorCreator<T> |
using(MethodFilter filter,
org.aopalliance.intercept.MethodInterceptor... interceptors)
Uses the given method filter to selectively bind methods on the class of type
T to
the given chain of interceptors. |
usingInterceptorCreator<T> using(MethodFilter filter, org.aopalliance.intercept.MethodInterceptor... interceptors)
T to
the given chain of interceptors. The interceptors are shared between all proxied methods.filter - The method filterinterceptors - The interceptor chainInterceptorCreator<T> using(MethodFilter filter, InterceptorFactory factory)
T to
a chain of interceptors produced by the given factory. Hence the interceptors are not (necessarily)
shared between all proxied methods.filter - The method filterfactory - The interceptor factoryInterceptorCreator<T> using(Class<? extends Annotation> methodMarker, org.aopalliance.intercept.MethodInterceptor... interceptors)
T to the given
chain of interceptors. The interceptors are shared between all proxied methods.methodMarker - The annotationinterceptors - The interceptor chainCopyright © 2014. All rights reserved.