org.codehaus.aspectwerkz.pointcut
Class ExecutionPointcut

java.lang.Object
  extended byorg.codehaus.aspectwerkz.pointcut.AbstractPointcut
      extended byorg.codehaus.aspectwerkz.pointcut.ExecutionPointcut

public class ExecutionPointcut
extends AbstractPointcut

Implements the pointcut concept for method access. Is an abstraction of a well defined point of execution in the program.
Could matches one or many points as long as they are well defined.
Stores the advices for the specific pointcut.

Author:
Jonas Bonér

Constructor Summary
ExecutionPointcut(java.lang.String uuid, Expression expression)
          Creates a new method pointcut.
 
Method Summary
 void addPointcutDef(PointcutDefinition pointcut)
          Adds a new pointcut pattern.
 boolean isNonReentrant()
          Checks if the pointcut is non-reentrant.
 
Methods inherited from class org.codehaus.aspectwerkz.pointcut.AbstractPointcut
addAdvice, addAdvices, getAdviceIndex, getAdviceIndexes, getAdviceIndexTuples, getAdviceNames, getCFlowExpression, getExpression, hasAdvice, removeAdvice, setAdviceIndexTuples, setCFlowExpression
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionPointcut

public ExecutionPointcut(java.lang.String uuid,
                         Expression expression)
Creates a new method pointcut.

Parameters:
uuid - the UUID for the AspectWerkz system
expression - the expression of the pointcut
Method Detail

isNonReentrant

public boolean isNonReentrant()
Checks if the pointcut is non-reentrant.

Returns:
the non-reentrancy flag

addPointcutDef

public void addPointcutDef(PointcutDefinition pointcut)
Adds a new pointcut pattern.

Parameters:
pointcut - the pointcut definition


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