net.neoremind.dynamicproxy.impl
类 ByteBuddyCreator

java.lang.Object
  继承者 net.neoremind.dynamicproxy.template.CreatorTemplate
      继承者 net.neoremind.dynamicproxy.template.SubclassCreatorTemplate
          继承者 net.neoremind.dynamicproxy.impl.ByteBuddyCreator
所有已实现的接口:
ProxyCreator

public class ByteBuddyCreator
extends SubclassCreatorTemplate

使用ByteBuddy来做动态代理的ProxyCreator

作者:
zhangxu

字段摘要
protected static ClassCache PROXY_CLASS_CACHE
           
 
构造方法摘要
ByteBuddyCreator()
           
 
方法摘要
 boolean canProxy(Class<?>... proxyClasses)
           
<T> T
createDelegatorProxy(ClassLoader classLoader, ObjectProvider<?> delegateProvider, Class<?>... proxyClasses)
           
<T> T
createInterceptorProxy(ClassLoader classLoader, Object target, Interceptor interceptor, Class<?>... proxyClasses)
           
<T> T
createInvokerProxy(ClassLoader classLoader, ObjectInvoker invoker, Class<?>... proxyClasses)
           
 
从类 net.neoremind.dynamicproxy.template.SubclassCreatorTemplate 继承的方法
getSuperclass, toInterfaces
 
从类 net.neoremind.dynamicproxy.template.CreatorTemplate 继承的方法
createDelegatorProxy, createInterceptorProxy, createInvokerProxy
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

PROXY_CLASS_CACHE

protected static final ClassCache PROXY_CLASS_CACHE
构造方法详细信息

ByteBuddyCreator

public ByteBuddyCreator()
方法详细信息

canProxy

public boolean canProxy(Class<?>... proxyClasses)
指定者:
接口 ProxyCreator 中的 canProxy
覆盖:
SubclassCreatorTemplate 中的 canProxy

createDelegatorProxy

public <T> T createDelegatorProxy(ClassLoader classLoader,
                                  ObjectProvider<?> delegateProvider,
                                  Class<?>... proxyClasses)

createInterceptorProxy

public <T> T createInterceptorProxy(ClassLoader classLoader,
                                    Object target,
                                    Interceptor interceptor,
                                    Class<?>... proxyClasses)

createInvokerProxy

public <T> T createInvokerProxy(ClassLoader classLoader,
                                ObjectInvoker invoker,
                                Class<?>... proxyClasses)


Copyright © 2016 neoremind. All rights reserved.