org.jboss.ejb3.interceptors
Interface InterceptorFactory
- All Known Implementing Classes:
- ContainerInterceptorFactory, DefaultInterceptorFactory
public interface InterceptorFactory
Creates instances of interceptors and thus forming a life cycle
callback of the interceptor.
Currently it's not possible to have have interceptors on interceptors,
so it's impossible to perform an action in the 'post construct' of
the interceptor itself.
To counter this you can use an interceptor factory.
|
Method Summary |
java.lang.Object |
create(org.jboss.aop.Advisor advisor,
java.lang.Class<?> interceptorClass)
|
create
java.lang.Object create(org.jboss.aop.Advisor advisor,
java.lang.Class<?> interceptorClass)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException