org.codehaus.aspectwerkz.xmldef.advice
Class DefaultAroundAdvice

java.lang.Object
  extended byorg.codehaus.aspectwerkz.xmldef.advice.AbstractAdvice
      extended byorg.codehaus.aspectwerkz.xmldef.advice.AroundAdvice
          extended byorg.codehaus.aspectwerkz.xmldef.advice.DefaultAroundAdvice
All Implemented Interfaces:
Advice, java.io.Serializable

public class DefaultAroundAdvice
extends AroundAdvice

Default implementation of the around advice.

Only to be used as a container for pre A post advices.

Executes it's pre A post advices A delegates in between direcly to the next around advice in the chain.

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
DefaultAroundAdvice()
          Creates a new default around advice.
 
Method Summary
 java.lang.Object execute(JoinPoint joinPoint)
          Delegates directly to the next advice in the chain.
 
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, 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

DefaultAroundAdvice

public DefaultAroundAdvice()
Creates a new default around advice.

Method Detail

execute

public java.lang.Object execute(JoinPoint joinPoint)
                         throws java.lang.Throwable
Delegates directly to the next advice in the chain.

Specified by:
execute in class AroundAdvice
Parameters:
joinPoint - the join point for the pointcut
Returns:
the result from the method invocation
Throws:
java.lang.Throwable


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.