Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Misunderstanding : execution pointcut with thisJoinPointStaticPart and thisEnclosingJoinPointStaticPart

I misunderstand the returns of ( I construct a StringBuffer)  :

 

append(thisJoinPointStaticPart.getSignature().getDeclaringTypeName()).append(".").append(thisJoinPointStaticPart.getSignature().getName())

and

append(thisEnclosingJoinPointStaticPart.getSignature().getDeclaringTypeName()).append(".").append(thisEnclosingJoinPointStaticPart.getSignature().getName())

 

that are the same with and execution pointcut ( a call pointcut gives the parent of the called method).

 

Is it normal ? or thisEnclosingJoinPointStaticPart has no effect with an execution pointcut?

 

Cordialement / Best regards

 

Jean-Louis Pasturel
jeanlouis.pasturel@xxxxxxxxxxxx

 

 

*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration.
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************

Back to the top