[aspectwerkz-dev] matching on constructors of classes with an annotation

christoph sturm <chrisml-Ws/[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
hey all!

I have a pointcut that should select all constructors of a class that 
has some annotation:

     /**
      * @Expression execution(*..*.new(..)) && within(@Entity *..*)
      */

but my advice is never reached when i set a breakpoint there.

when i match on every constructor:

     /**
      * @Expression execution(*..*.new(..))
      */

it works.

is this a bug or is there an error in my pointcut selection?

regards
  chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.