org.codehaus.aspectwerkz.joinpoint
Class MemberMethodJoinPoint

java.lang.Object
  extended byorg.codehaus.aspectwerkz.joinpoint.MethodJoinPoint
      extended byorg.codehaus.aspectwerkz.joinpoint.MemberMethodJoinPoint
All Implemented Interfaces:
JoinPoint, java.io.Serializable

public class MemberMethodJoinPoint
extends MethodJoinPoint

Matches well defined point of execution in the program where a member method is executed.
Stores meta data from the join point. I.e. a reference to original object A method, the parameters to A the result from the original method invocation etc.
Handles the invocation of the advices added to the join point.

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
MemberMethodJoinPoint(java.lang.String uuid, java.lang.Object targetObject, java.lang.String targetClassName, int methodId, java.lang.String controllerClass)
          Creates a new MemberMethodJoinPoint object.
 
Method Summary
 boolean equals(java.lang.Object o)
          The overridden equals method.
 java.lang.Object getTargetObject()
          Returns the original object.
 int hashCode()
          Overrides hashCode.
 
Methods inherited from class org.codehaus.aspectwerkz.joinpoint.MethodJoinPoint
createAdviceNotCorrectlyMappedMessage, getCFlowPointcuts, getMethod, getMethodId, getMethodMetaData, getMethodName, getOriginalMethod, getParameters, getParameterTypes, getPointcuts, getResult, getReturnType, getSystem, getTargetClass, getUuid, invokeOriginalMethod, proceed, proceedInNewThread, setCFlowPointcuts, setParameters, setPointcuts, setResult, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemberMethodJoinPoint

public MemberMethodJoinPoint(java.lang.String uuid,
                             java.lang.Object targetObject,
                             java.lang.String targetClassName,
                             int methodId,
                             java.lang.String controllerClass)
Creates a new MemberMethodJoinPoint object.

Parameters:
uuid - the UUID for the AspectWerkz system to use
targetObject - the target object
methodId - the id of the original method
controllerClass - the class name of the controller class to use
Method Detail

getTargetObject

public java.lang.Object getTargetObject()
Returns the original object.

Specified by:
getTargetObject in interface JoinPoint
Specified by:
getTargetObject in class MethodJoinPoint
Returns:
the original object

hashCode

public int hashCode()
Overrides hashCode.

Overrides:
hashCode in class MethodJoinPoint
Returns:
the hash code

equals

public boolean equals(java.lang.Object o)
The overridden equals method.

Parameters:
o - the other object
Returns:
boolean


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