|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Keeps the global list of aspects. Identifies the relevant aspects and interceptors for the given jointpoint.
| Method Summary | |
void |
add(Aspect aspect)
Adds the given aspect to the end of the global list of aspects. |
void |
add(Pointcut pointcut,
Interceptor interceptor)
Creates the new aspect and adds it to the end of the list of aspects. |
void |
addFirst(Aspect aspect)
Inserts the given aspect in the beginning of the list of aspects. |
void |
addFirst(Pointcut pointcut,
Interceptor interceptor)
Creates the new aspect from the given pointcut and the interceptor and inserts it in the beginning of the list of aspects. |
void |
clear()
Clears the aspect list |
java.util.List |
findInterceptors(java.lang.reflect.Method proxyMethod,
java.lang.reflect.Method targetMethod)
Identifiesaspects whose pointcut matches the given source method or target method. |
java.util.List |
getAspectList()
Returns the list of aspects to the client. |
| Method Detail |
public void add(Aspect aspect)
aspect - aspect to addpublic void addFirst(Aspect aspect)
aspect - aspect to add
public void add(Pointcut pointcut,
Interceptor interceptor)
pointcut - pointcut of the aspectinterceptor - interceptor of the aspect
public void addFirst(Pointcut pointcut,
Interceptor interceptor)
pointcut - pointcut of the aspectinterceptor - interceptor of the aspectpublic java.util.List getAspectList()
public java.util.List findInterceptors(java.lang.reflect.Method proxyMethod,
java.lang.reflect.Method targetMethod)
proxyMethod - method invoked by the client on the proxy (interface method)targetMethod - target method which will be called as the result of the proxy method
public void clear()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||