[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Excluding all methods of an interface
- From: Nicholas Lesiecki <ndlesiecki@xxxxxxxxx>
- Date: Tue, 25 Jan 2005 08:55:19 -0700
- Delivered-to: firstname.lastname@example.org
execution(* MyEJB.*(..)) && !execution(* EntityBean.*(..))
Software Craftsman, specializing in J2EE,
Agile Methods, and aspect-oriented programming
m: 520 591-1849
* Mastering AspectJ: http://tinyurl.com/66vf
* Java Tools for Extreme Programming: http://tinyurl.com/66vt
Articles on AspectJ:
* http://tinyurl.com/66vu and http://tinyurl.com/66vv
On Jan 25, 2005, at 8:33 AM, Beaumont, Serge wrote:
I am making an aspect that advises an EJB bean class with an execution
pointcut. However, I want to exclude any of the "official" methods as
defined by for instance javax.ejb.SessionBean. Is there any way to do
this, other than doing !setSessionContext, !ejbCreate etc. etc. ?
does not seem to be a way to say "exclude/include methods from
in class C"...
Technical Software Architect
Sogeti Nederland BV
This message contains information that may be privileged or
confidential and is the property of Sogeti Nederland B.V. or its Group
members. It is intended only for the person to whom it is addressed.
If you are not the intended recipient, you are not authorized to read,
print, retain, copy, disseminate, distribute, or use this message or
any part thereof. If you receive this message in error, please notify
the sender immediately and delete all copies of this message.
aspectj-users mailing list