IAspect interface.

Power Java
Dynamic Proxy Classes:
Toward Metalevel Programming in Java

Mathias Richter and Takashi Suezawa
Listing 5. IAspect interface.


public interface IAspect
{
	public static final int NONE    = 0;
	public static final int BEFORE = 1;
	public static final int AFTER   = 2;

	public void setPhase( int phase );
	public int getPhase();
	public void setPrimary( Object primary );
	public Object getPrimary();
}