org.codehaus.aspectwerkz.joinpoint.management
Class JoinPointMetaData

java.lang.Object
  extended byorg.codehaus.aspectwerkz.joinpoint.management.JoinPointMetaData

public class JoinPointMetaData
extends Object

Holds and creates meta data about a specific join point.

Author:
Jonas Bonér , Alexandre Vasseur

Field Summary
 AdviceIndexInfo[] adviceIndexes
          The indexes for the advices.
 List cflowExpressions
          The cflow expressions runtime.
 Pointcut cflowPointcut
          The cflow pointcut.
 ExpressionContext expressionContext
          The join point expression context
 
Constructor Summary
JoinPointMetaData()
           
 
Method Summary
static JoinPointMetaData getJoinPointMetaData(PointcutType type, AspectSystem system, ReflectionInfo reflectInfo, ReflectionInfo withinInfo)
          Retrieves the join point metadata.
static String[] getParameterNames(String expression)
          Get the parameter names from a "method declaration" signature like pc(type a, type2 b) => 0:a, 1:b
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adviceIndexes

public AdviceIndexInfo[] adviceIndexes
The indexes for the advices.


cflowExpressions

public List cflowExpressions
The cflow expressions runtime.


cflowPointcut

public Pointcut cflowPointcut
The cflow pointcut.


expressionContext

public ExpressionContext expressionContext
The join point expression context

Constructor Detail

JoinPointMetaData

public JoinPointMetaData()
Method Detail

getJoinPointMetaData

public static JoinPointMetaData getJoinPointMetaData(PointcutType type,
                                                     AspectSystem system,
                                                     ReflectionInfo reflectInfo,
                                                     ReflectionInfo withinInfo)
Retrieves the join point metadata.

Parameters:
type -
system -
reflectInfo -
withinInfo -

getParameterNames

public static String[] getParameterNames(String expression)
Get the parameter names from a "method declaration" signature like pc(type a, type2 b) => 0:a, 1:b

Parameters:
expression -
Returns:
the parameter names


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