org.codehaus.aspectwerkz.aspect
Class CFlowSystemAspect

java.lang.Object
  extended byorg.codehaus.aspectwerkz.aspect.CFlowSystemAspect

public class CFlowSystemAspect
extends Object

Manages the cflow pointcuts.

Author:
Jonas Bonér , Alexandre Vasseur

Field Summary
static String CLASS_NAME
          The class name for the aspect.
static String DEPLOYMENT_MODEL
          The deployment model for the aspect.
static String NAME
          A unique name for the aspect.
static String POST_ADVICE
          The name of the post advice method.
static int POST_ADVICE_INDEX
          Index of the post advice method.
static String PRE_ADVICE
          The name of the pre advice method.
static int PRE_ADVICE_INDEX
          Index of the pre advice method.
 
Constructor Summary
CFlowSystemAspect(CrossCuttingInfo info)
          Creates a new cflow system aspect instance.
 
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

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


NAME

public static final String NAME
A unique name for the aspect.


DEPLOYMENT_MODEL

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

See Also:
Constant Field Values

PRE_ADVICE

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

See Also:
Constant Field Values

POST_ADVICE

public static final 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(CrossCuttingInfo info)
Creates a new cflow system aspect instance.

Parameters:
info - the cross-cutting info
Method Detail

enterControlFlow

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

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

exitControlFlow

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

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


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.