org.codehaus.aspectwerkz.joinpoint
Class StaticFieldSetJoinPoint

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

public class StaticFieldSetJoinPoint
extends FieldJoinPoint

Matches well defined point of execution in the program where a field is set. 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
StaticFieldSetJoinPoint(java.lang.String uuid, java.lang.Class targetClass, java.lang.String signature)
          Creates a new StaticFieldSetJoinPoint 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

StaticFieldSetJoinPoint

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

Parameters:
uuid - the UUID for the AspectWerkz system
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.