The MethodInterceptorFactory is a service interceptor factory supporting AOP Alliance MethodInterceptors as service interceptors.
The
impl
parameter identifies the
MethodInterceptor
to
use. It can be any object implementing the
MethodInterceptor
interface.
<interceptor service-id="gaderian.utilitiesMethodInterceptorFactory">
<impl object="service:SomeService" />
</interceptor>
<interceptor service-id="gaderian.utilitiesMethodInterceptorFactory">
<impl object="instance:com.myco.interceptor.SecurityInterceptor" />
</interceptor>