Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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.


Back to the top