org.skife.intercept
Interface InterceptorFactory
- public interface InterceptorFactory
Used with the InterceptionBroker.addInterceptor(InterceptorFactory, Signature)
to provide a very flexible way of obtaining interceptors on a per-invocation basis. The
factory will be invoked on each invocation of an intercepted method to provide an
interceptor. This allows for per-invocation interceptors without default constructors,
interceptor pooling, etc.
- See Also:
InterceptionBroker
Method Summary |
org.skife.intercept.Interceptor |
build()
Provide an Interceptor -- will be called on every method invocation |
build
public org.skife.intercept.Interceptor build()
- Provide an Interceptor -- will be called on every method invocation