org.codehaus.aspectwerkz.joinpoint
Class StaticFieldGetJoinPoint

java.lang.Object
  extended byorg.codehaus.aspectwerkz.joinpoint.AbstractJoinPoint
      extended byorg.codehaus.aspectwerkz.joinpoint.FieldJoinPoint
          extended byorg.codehaus.aspectwerkz.joinpoint.StaticFieldGetJoinPoint
All Implemented Interfaces:
JoinPoint, java.io.Serializable

public class StaticFieldGetJoinPoint
extends FieldJoinPoint

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

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
StaticFieldGetJoinPoint(java.lang.String uuid, java.lang.Class targetClass, java.lang.String signature)
          Creates a new StaticFieldGetJoinPoint object.
 
Method Summary
 java.lang.Class getTargetClass()
          Returns the target class.
 java.lang.Object getTargetInstance()
          Returns the target object.
 
Methods inherited from class org.codehaus.aspectwerkz.joinpoint.FieldJoinPoint
createMetaData, getFieldName, getFieldType, getFieldTypeName, getSignature, post, pre, proceed, proceedInNewThread
 
Methods inherited from class org.codehaus.aspectwerkz.joinpoint.AbstractJoinPoint
getAttribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticFieldGetJoinPoint

public StaticFieldGetJoinPoint(java.lang.String uuid,
                               java.lang.Class targetClass,
                               java.lang.String signature)
Creates a new StaticFieldGetJoinPoint object.

Parameters:
uuid - the UUID for the AspectWerkz system to use
targetClass - the target class
signature - the field signature
Method Detail

getTargetInstance

public java.lang.Object getTargetInstance()
Returns the target object.

Specified by:
getTargetInstance in interface JoinPoint
Specified by:
getTargetInstance in class FieldJoinPoint
Returns:
the target object

getTargetClass

public java.lang.Class getTargetClass()
Returns the target class.

Specified by:
getTargetClass in interface JoinPoint
Specified by:
getTargetClass in class FieldJoinPoint
Returns:
the target class


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