ProxyFactory.java 文件源码

java
阅读 37 收藏 0 点赞 0 评论 0

项目:spring 作者:
/**
 * Create a new ProxyFactory for the given interface and interceptor.
 * <p>Convenience method for creating a proxy for a single interceptor,
 * assuming that the interceptor handles all calls itself rather than
 * delegating to a target, like in the case of remoting proxies.
 * @param proxyInterface the interface that the proxy should implement
 * @param interceptor the interceptor that the proxy should invoke
 */
public ProxyFactory(Class<?> proxyInterface, Interceptor interceptor) {
    addInterface(proxyInterface);
    addAdvice(interceptor);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号