org.codehaus.aspectwerkz.attribdef.aspect
Class CFlowSystemAspect

java.lang.Object
  extended byorg.codehaus.aspectwerkz.attribdef.aspect.Aspect
      extended byorg.codehaus.aspectwerkz.attribdef.aspect.CFlowSystemAspect
All Implemented Interfaces:
java.io.Serializable

public class CFlowSystemAspect
extends Aspect

Manages the cflow pointcuts.

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

Field Summary
static java.lang.String CLASS_NAME
          The class name for the aspect.
static java.lang.String DEPLOYMENT_MODEL
          The deployment model for the aspect.
static java.lang.String NAME
          A unique name for the aspect.
static java.lang.String POST_ADVICE
          The name of the post advice method.
static int POST_ADVICE_INDEX
          Index of the post advice method.
static java.lang.String PRE_ADVICE
          The name of the pre advice method.
static int PRE_ADVICE_INDEX
          Index of the pre advice method.
 
Fields inherited from class org.codehaus.aspectwerkz.attribdef.aspect.Aspect
EMPTY_OBJECT_ARRAY
 
Constructor Summary
CFlowSystemAspect()
           
 
Method Summary
 void enterControlFlow(JoinPoint joinPoint)
          Registers the join point as the start of a control flow (cflow) in the system.
 void exitControlFlow(JoinPoint joinPoint)
          Registers the join point as the end of a control flow (cflow) in the system.
 
Methods inherited from class org.codehaus.aspectwerkz.attribdef.aspect.Aspect
___AW_getAspectClass, ___AW_getAspectDef, ___AW_getContainer, ___AW_getContainerType, ___AW_getDeploymentModel, ___AW_getMixinTargetClass, ___AW_getMixinTargetInstance, ___AW_getName, ___AW_getParameter, ___AW_getSystem, ___AW_getTargetClass, ___AW_getTargetInstance, ___AW_invokeAdvice, ___AW_setAspectClass, ___AW_setAspectDef, ___AW_setContainer, ___AW_setDeploymentModel, ___AW_setName, ___AW_setParameter, ___AW_setTargetClass, ___AW_setTargetInstance, newInstance
 
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 aspect.

See Also:
Constant Field Values

CLASS_NAME

public static final java.lang.String CLASS_NAME
The class name for the aspect.

See Also:
Constant Field Values

DEPLOYMENT_MODEL

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

See Also:
Constant Field Values

PRE_ADVICE

public static final java.lang.String PRE_ADVICE
The name of the pre advice method.

See Also:
Constant Field Values

POST_ADVICE

public static final java.lang.String POST_ADVICE
The name of the post advice method.

See Also:
Constant Field Values

PRE_ADVICE_INDEX

public static final int PRE_ADVICE_INDEX
Index of the pre advice method.


POST_ADVICE_INDEX

public static final int POST_ADVICE_INDEX
Index of the post advice method.

Constructor Detail

CFlowSystemAspect

public CFlowSystemAspect()
Method Detail

enterControlFlow

public void enterControlFlow(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

exitControlFlow

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

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


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