|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.advice.AbstractAdvice
org.codehaus.aspectwerkz.advice.AroundAdvice
Executes around or instead of the original method invocation.
Supports four different deployment models: PER_JVM, PER_CLASS, PER_INSTANCE A PER_THREAD.
aspectwerkz.DeploymentModel
,
Serialized FormConstructor Summary | |
AroundAdvice()
Sets the class of the class. |
Method Summary | |
java.lang.Object |
doExecute(JoinPoint joinPoint)
Executes the current advice A then redirects to the next advice in the chain. Callback method for the framework. |
abstract java.lang.Object |
execute(JoinPoint joinPoint)
Executes by invoking the next around advice. |
Methods inherited from class org.codehaus.aspectwerkz.advice.AbstractAdvice |
getAdviceClass, getContainer, getDeploymentModel, getMemoryType, getName, getParameter, getParameters, getPerJvmAdvice, getSystem, newInstance, setAdviceClass, setContainer, setDeploymentModel, setName, setParameter, setParameters |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AroundAdvice()
Method Detail |
public abstract java.lang.Object execute(JoinPoint joinPoint) throws java.lang.Throwable
joinPoint
- the join point specified
java.lang.Throwable
public java.lang.Object doExecute(JoinPoint joinPoint) throws java.lang.Throwable
joinPoint
- the join point the advice is executing at
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |