Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Pointcut definition possible?

Hi folks
I have a question about a pointcut definition, after reading the manuals, it was not possible for me to define the following:

there is an annotated interface

-----------------------------------------------
@RemoteAnnotaion
public interface Foo {
	void do();
}
-----------------------------------------------

the implementation:
-----------------------------------------------
public class FooImpl implements Foo {
	public void do() {
		...
		doHelper();
		...
	}
	public void doHelper() {
		...
	}
}
-----------------------------------------------

can I create a Pintcut, which matches all method executions, which implements an interface marked with the @RemoteAnnotation
what I want to do, is a pointcut for the method "do()" but not for the method "doHelper()"
is that possible?

regards a.reiter

jabber: a.reiter@xxxxxxxxxx
ICQ: 85763074



Back to the top