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.
- Version:
- $Revision: 68820 $
- Author:
- Carlo de Wolf
Method Summary |
Object |
create(org.jboss.aop.Advisor advisor,
Class<?> interceptorClass)
|
create
Object create(org.jboss.aop.Advisor advisor,
Class<?> interceptorClass)
throws InstantiationException,
IllegalAccessException
- Throws:
InstantiationException
IllegalAccessException
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.