ataspectj.reflect
Class JoinPointFactory

java.lang.Object
  extended by ataspectj.reflect.JoinPointFactory

public class JoinPointFactory
extends java.lang.Object

Factory to be used to access to the reflective enviroment.


Constructor Summary
JoinPointFactory()
           
 
Method Summary
static org.aspectj.lang.JoinPoint getJoinPoint(org.aspectj.lang.JoinPoint jp)
          It returns the appropiate reflective object.
static org.aspectj.lang.JoinPoint.StaticPart getJoinPointStaticPart(org.aspectj.lang.JoinPoint jp)
          It returns the appropiate reflective object for the static part.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinPointFactory

public JoinPointFactory()
Method Detail

getJoinPoint

public static org.aspectj.lang.JoinPoint getJoinPoint(org.aspectj.lang.JoinPoint jp)
It returns the appropiate reflective object. Could be the same passed as argument or a new object for the join point picked up by atblock or atepxr pointcuts.

Parameters:
jp - the current AspectJ join point (usually thisJoinPoint)
Returns:
the appropriate reflective object.

getJoinPointStaticPart

public static org.aspectj.lang.JoinPoint.StaticPart getJoinPointStaticPart(org.aspectj.lang.JoinPoint jp)
It returns the appropiate reflective object for the static part. Could be the same passed as argument or a new object for the join point picked up by atblock or atepxr pointcuts.

Parameters:
jp - the current AspectJ join point (usually thisJoinPoint)
Returns:
the appropriate reflective object.