org.codehaus.aspectwerkz.xmldef.advice
Class CFlowPreAdvice

java.lang.Object
  extended byorg.codehaus.aspectwerkz.xmldef.advice.AbstractAdvice
      extended byorg.codehaus.aspectwerkz.xmldef.advice.AbstractPrePostAdvice
          extended byorg.codehaus.aspectwerkz.xmldef.advice.PreAdvice
              extended byorg.codehaus.aspectwerkz.xmldef.advice.CFlowPreAdvice
All Implemented Interfaces:
Advice, java.io.Serializable

public class CFlowPreAdvice
extends PreAdvice

Registers the join point as the start of a control flow (cflow) in the AspectWerkz system.

Author:
Jonas Bonér, Alexandre Vasseur
See Also:
Serialized Form

Field Summary
static java.lang.String DEPLOYMENT_MODEL
          The deployment model for the advice.
static java.lang.String NAME
          A unique name for the advice.
 
Constructor Summary
CFlowPreAdvice()
          Creates a new cflow advice.
 
Method Summary
 void execute(JoinPoint joinPoint)
          Registers the join point as the start of a control flow (cflow) in the system.
static AdviceDefinition getDefinition()
          Returns the definition for this advice.
 
Methods inherited from class org.codehaus.aspectwerkz.xmldef.advice.PreAdvice
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
 

Field Detail

NAME

public static final java.lang.String NAME
A unique name for the advice.

See Also:
Constant Field Values

DEPLOYMENT_MODEL

public static final java.lang.String DEPLOYMENT_MODEL
The deployment model for the advice.

See Also:
Constant Field Values
Constructor Detail

CFlowPreAdvice

public CFlowPreAdvice()
Creates a new cflow advice.

Method Detail

execute

public void execute(JoinPoint joinPoint)
             throws java.lang.Throwable
Registers the join point as the start of a control flow (cflow) in the system.

Parameters:
joinPoint - the join point
Throws:
java.lang.Throwable - the exception from the invocation

getDefinition

public static AdviceDefinition getDefinition()
Returns the definition for this advice.

Returns:
the definition


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