|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.joinpoint.FieldJoinPoint
Matches well defined point of execution in the program where a field is set or accessed. Stores meta data from the join point. I.e. a reference to original object A method, name A type of the field etc. Handles the invocation of the advices added to the join point.
Constructor Summary | |
FieldJoinPoint(java.lang.String uuid,
java.lang.String signature)
Creates a new MemberFieldGetJoinPoint object. |
Method Summary | |
void |
createMetaData()
Creates a meta-data for the field for this joinpoint. |
java.lang.String |
getFieldName()
Returns the field name. |
Type |
getFieldType()
Returns the field type as a Type object. |
java.lang.String |
getFieldTypeName()
Returns the name of the field type. |
java.lang.String |
getSignature()
Returns the signature of the field. |
abstract java.lang.Class |
getTargetClass()
Returns the target class. |
abstract java.lang.Object |
getTargetObject()
Returns the target object. |
void |
post()
Invokes the next post advice in the chain until it reaches the end. |
void |
pre()
Invokes the next pre advice in the chain until it reaches the end. |
java.lang.Object |
proceed()
Does not do anything. |
java.lang.Object |
proceedInNewThread()
Does not do anything. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FieldJoinPoint(java.lang.String uuid, java.lang.String signature)
uuid
- the UUID for the AspectWerkz system to usesignature
- the field signatureMethod Detail |
public java.lang.Object proceedInNewThread() throws java.lang.Throwable
proceedInNewThread
in interface JoinPoint
java.lang.Throwable
public java.lang.Object proceed() throws java.lang.Throwable
proceed
in interface JoinPoint
java.lang.Throwable
public void pre() throws java.lang.Throwable
java.lang.Throwable
public void post() throws java.lang.Throwable
java.lang.Throwable
public abstract java.lang.Object getTargetObject()
getTargetObject
in interface JoinPoint
public abstract java.lang.Class getTargetClass()
getTargetClass
in interface JoinPoint
public Type getFieldType()
aspectwerkz.Type
public java.lang.String getFieldTypeName()
public java.lang.String getSignature()
public java.lang.String getFieldName()
public void createMetaData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |