package dynaop;
import java.lang.reflect.Method;
/**
* Proxy type. Enables proxy reflection.
*
* @author Bob Lee (crazybob@crazybob.org)
*/
public interface ProxyType {
/**
* Gets interfaces the proxy implements.
*/
Class[] getInterfaces();
/**
* Gets interceptor factory chain for a method.
* Can return <code>null</code>.
*
* @param method Method.
*/
InterceptorFactory[] getInterceptorFactories(Method method);
}
|