
Listing 1. Examples of call/execution pointcuts and their signatures 
--------------------------------------------------------------------


/*
	Example 1 pulls out calls to any public 
	method that throws a RemoteException
*/

	pointcut example1(): call(public * * (..) throws RemoteException);

/*
	Example 2 pulls out calls to a constructor of any
	subclass of UnicastRemoteObject 

	The '+' indicates any subclass. 
*/

	pointcut example2(): call(UnicastRemoteObject+.new(..));

/*
	Example 3 pulls out executions of public methods of 
	classes in any package below com.wgrosso (including
	classes in com.wgrosso). 

	The '..' is what indicates any subpackage. 
*/

	pointcut example3(): execution(public * com.wgrosso..*.*(..));

/*
	Example 4 pulls out executions of public methods of 
	classes in any package below com.wgrosso (including
	classes in com.wgrosso). The methods have to be 
	"setter" methods and return void
*/

	pointcut example4(): execution(public void com.wgrosso..*.set*(..));

	