|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.aspectwerkz.xmldef.advice.AbstractAdvice
org.codehaus.aspectwerkz.xmldef.advice.AroundAdvice
org.virtualmock.aspect.aspectwerkz.UnitTestInterceptorAdvice
This is the advice which intercepts all caller-side method calls which are made from the unit test class to the class under test (except those which are excluded through the pointcuts). It then 'records' it as a mock call, which will be played back later by the MethodInterceptorAdvice.
| Field Summary |
| Fields inherited from class org.codehaus.aspectwerkz.xmldef.advice.AbstractAdvice |
m_adviceClass, m_container, m_deploymentModel, m_memoryType, m_name, m_parameters |
| Constructor Summary | |
UnitTestInterceptorAdvice()
|
|
| Method Summary | |
java.lang.Object |
execute(org.codehaus.aspectwerkz.joinpoint.JoinPoint joinPoint)
The template method from the superclass which contains all the logic for this advice. |
| Methods inherited from class org.codehaus.aspectwerkz.xmldef.advice.AroundAdvice |
doExecute |
| Methods inherited from class org.codehaus.aspectwerkz.xmldef.advice.AbstractAdvice |
getAdviceClass, getContainer, getDeploymentModel, getMemoryType, getName, getParameter, getParameters, getPerClassAdvice, getPerInstanceAdvice, getPerJvmAdvice, getPerThreadAdvice, getSystem, newInstance, setAdviceClass, setContainer, setDeploymentModel, setName, setParameter, setParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UnitTestInterceptorAdvice()
| Method Detail |
public java.lang.Object execute(org.codehaus.aspectwerkz.joinpoint.JoinPoint joinPoint)
throws java.lang.Throwable
joinPoint - the JoinPoint passed by AspectWerkz
java.lang.Throwable - Throwable thrown by the method which is being advised
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||