Re: aspect class patterns

"Jonas Bonèr" <[email protected]> Mon, 14 Apr 2003 11:00:42 +0200
Newsgroups gmane.comp.java.aspectwerkz
Message-ID <[email protected]>
Hej M=E5ns.

Thanks for trying AspectWerkz out.

Actually I am working on exactly this right now. I can't say when it will b=
e finished but I hope that I will have it done in a couple of weeks.=20

Since I am using standard regular expressions for the patterns both of the =
examples you provided will be possible.

Sincerely, Jonas.

-----Original Message-----
From: M=E5ns af Klercker <[email protected]>
To: <[email protected]>
Date: Mon, 14 Apr 2003 10:44:15 +0200=20
Subject: [aspectwerkz-developer] aspect class patterns

Hi!

Great effort with AspectWerkz, we are definitely considering using it for o=
ne of our apps! We have one Q, though:

Would it be possible to define an aspect for a class pattern or package ins=
tead of a FQ class name? We have whole packages we want to apply pointcut=
s etc to, so an aspect def looking like this would be swell:

<aspect class=3D"org.foo.*">
=09...
</aspect>

or even

<aspect class=3D"org.foo.*Test">
=09...
</aspect>


From what I can gather from the docs, this isn't possible today, but could =
it be possible in the future?

cheers,
/M=E5ns af Klercker

Tacton Systems AB, Kungsgatan 70, 111 22 Stockholm, Sweden
http://www.tacton.com
 


- Jonas



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf