[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Package to package pointcut


I have problems getting my Pointcut to work and I hope
somebody could point out my error. I am trying to
match calls, which are originated in one package and
have another package as a target.

I have tried the following Pointcut:
	pointcut externalDependencyCalled()
	: within(package1*) && call(* package2*.*(..));

However, this pointcut does not match any call from
package 1 to package 2. How do I have to correct my
point cut?


Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.