com.jdon.aop.interceptor
Class InterceptorsChain
java.lang.Object
com.jdon.aop.interceptor.InterceptorsChain
- All Implemented Interfaces:
- org.picocontainer.Startable
public class InterceptorsChain
- extends java.lang.Object
- implements Startable
Interceptors chain
all interceptors will add in this collection
|
Field Summary |
static java.lang.String |
NAME
|
|
Method Summary |
void |
addInterceptor(java.lang.String pointcut,
org.aopalliance.intercept.MethodInterceptor interceptor)
|
java.util.List |
getInterceptors(java.lang.String pointcut)
|
int |
size()
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
InterceptorsChain
public InterceptorsChain()
start
public void start()
- Specified by:
start in interface org.picocontainer.Startable
stop
public void stop()
- Specified by:
stop in interface org.picocontainer.Startable
addInterceptor
public void addInterceptor(java.lang.String pointcut,
org.aopalliance.intercept.MethodInterceptor interceptor)
getInterceptors
public java.util.List getInterceptors(java.lang.String pointcut)
- Returns:
- Returns the interceptors.
size
public int size()