Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Joinpoint on a Java API class

Title: Message
Hi
 
Search the list for java and javax - This has been omitted by design
 
Hermod
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of ldelaforge@xxxxxxx
Sent: Wednesday, February 13, 2008 5:01 PM
To: aspectj-users@xxxxxxxxxxx
Cc: ldelaforge@xxxxxxxxx
Subject: [aspectj-users] Joinpoint on a Java API class


Greetings,

I am trying to put a joinpoint on a java.util.ArrayList class.
But on runtime the advice is never executed.

Did I miss something, or is it simply impossible to put a joinpoint on a Java API class ?

Here is my aspect code :
   pointcut grouik() : get(* java.util.ArrayList.*);

         after() returning() : grouik() {
                System.out.println("grouik");
        }

Thanks in advance.

Laurent Delaforge

 

Attention:

L'integrite de ce message n'etant pas assuree sur Internet, les societes du groupe ODDO ne peuvent etre tenues responsables de son contenu. Ce message et les eventuels fichiers attaches contiennent des informations confidentielles. Au cas ou il ne vous serait pas destine, nous vous remercions de bien vouloir le supprimer et en aviser l'expediteur.

This message and the files that may be attached to it contain confidential information. The ODDO group may not be held responsible for their contents, whose accuracy and completeness cannot be guaranteed over the internet. If the message is not addressed to you, kindly delete it and notify the sender.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Back to the top