org.virtualmock.aspect.aspectwerkz
Class AspectwerkzAspectUtils

java.lang.Object
  extended byorg.virtualmock.aspect.aspectwerkz.AspectwerkzAspectUtils

public class AspectwerkzAspectUtils
extends java.lang.Object

This class implements behavior specific to Aspectwerkz.

Version:
$Revision: 1.18 $
Author:
Chad Woolley

Constructor Summary
AspectwerkzAspectUtils(AspectUtils aspectUtils)
          Creates a new AspectwerkzAspectUtils object.
 
Method Summary
protected  java.lang.Object[] getArgValuesFromMethodJoinPoint(org.codehaus.aspectwerkz.joinpoint.MethodJoinPoint methodJoinPoint)
          Uses information obtained from a MethodJoinPoint to build an array of argument values.
protected  InvokedCall getInvokedCallFromMethodJoinPoint(org.codehaus.aspectwerkz.joinpoint.MethodJoinPoint methodJoinPoint)
          Uses information obtained from a MethodJoinPoint to build an InvokedCall.
protected  Signature getSignatureFromMethodJoinPoint(org.codehaus.aspectwerkz.joinpoint.MethodJoinPoint methodJoinPoint)
          Uses information obtained from a MethodJoinPoint to build a Signature.
 boolean isJoinPointExcluded(java.lang.Class targetClass)
          Determines if the joinpoint defined by the specified Class and Method has been dynamically excluded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectwerkzAspectUtils

public AspectwerkzAspectUtils(AspectUtils aspectUtils)
Creates a new AspectwerkzAspectUtils object.

Parameters:
aspectUtils - an AspectUtils which will be used internally
Method Detail

isJoinPointExcluded

public boolean isJoinPointExcluded(java.lang.Class targetClass)
Determines if the joinpoint defined by the specified Class and Method has been dynamically excluded.

Parameters:
targetClass - the target class for this JoinPoint
Returns:
true if excluded, false if not

getArgValuesFromMethodJoinPoint

protected java.lang.Object[] getArgValuesFromMethodJoinPoint(org.codehaus.aspectwerkz.joinpoint.MethodJoinPoint methodJoinPoint)
Uses information obtained from a MethodJoinPoint to build an array of argument values.

Parameters:
methodJoinPoint - the MethodJoinPoint from which to obtain the argument values
Returns:
the array of argument values

getInvokedCallFromMethodJoinPoint

protected InvokedCall getInvokedCallFromMethodJoinPoint(org.codehaus.aspectwerkz.joinpoint.MethodJoinPoint methodJoinPoint)
Uses information obtained from a MethodJoinPoint to build an InvokedCall.

Parameters:
methodJoinPoint - the MethodJoinPoint from which to obtain an InvokedCall
Returns:
an InvokedCall instance, created from the information in the methodJoinPoint

getSignatureFromMethodJoinPoint

protected Signature getSignatureFromMethodJoinPoint(org.codehaus.aspectwerkz.joinpoint.MethodJoinPoint methodJoinPoint)
Uses information obtained from a MethodJoinPoint to build a Signature.

Parameters:
methodJoinPoint - the MethodJoinPoint from which to obtain a Signature
Returns:
a Signature


Copyright © 2003-2005 Virtual Mock. All Rights Reserved.