1 package dynaop; 2 3 /** 4 * Implemented by mixins or interceptors that need access to the 5 * surrounding proxy. Invoked before usage by a proxy. 6 * 7 * <p>May be invoked multiple times if the object is 8 * shared between multiple proxies.</p> 9 * 10 * @author Bob Lee (crazybob@crazybob.org) 11 */ 12 public interface ProxyAware { 13 14 void setProxy(Proxy proxy); 15 } 16