public class DecoratorProxyFactory<T> extends ProxyFactory<T>
BeanInstance for further processing.| Modifier and Type | Class and Description |
|---|---|
protected class |
DecoratorProxyFactory.TargetInstanceBytecodeMethodResolver |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROXY_SUFFIX |
CONSTRUCTED_FLAG_NAME, DEFAULT_METHOD_RESOLVER, DEFAULT_PROXY_PACKAGE, INIT_METHOD_NAME, LBEAN_IDENTIFIER, LJAVA_LANG_BYTE, LJAVA_LANG_CLASS, LJAVA_LANG_OBJECT, LJAVA_LANG_REFLECT_METHOD, LJAVA_LANG_STRING, LJAVA_LANG_THREAD_LOCAL, METHOD_HANDLER_FIELD_NAME| Constructor and Description |
|---|
DecoratorProxyFactory(java.lang.String contextId,
java.lang.Class<T> proxyType,
WeldInjectionPointAttributes<?,?> delegateInjectionPoint,
Bean<?> bean) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAdditionalInterfaces(java.util.Set<java.lang.Class<?>> interfaces)
Sub classes may override to specify additional interfaces the proxy should
implement
|
protected void |
addMethodsFromClass(ClassFile proxyClassType,
ClassMethod staticConstructor) |
protected java.lang.String |
getProxyNameSuffix()
Returns a suffix to append to the name of the proxy class.
|
addConstructedGuardToMethodBody, addConstructors, addFields, addInterface, addInterfacesFromTypeClosure, addMethods, addSerializationSupport, addSpecialMethods, create, createForwardingMethodBody, createInterceptorBody, createSpecialMethodBody, generateEqualsMethod, generateGetMethodHandlerBody, generateHashCodeMethod, generateSetMethodHandlerBody, getAdditionalInterfaces, getBaseProxyName, getBean, getBeanType, getCachedProxyClass, getContextId, getMethodHandlerField, getMethodHandlerType, getProxyClass, invokeMethodHandler, isCreatingProxy, isProxy, resolveClassLoaderForBeanProxy, run, setBeanInstancepublic static final java.lang.String PROXY_SUFFIX
public DecoratorProxyFactory(java.lang.String contextId,
java.lang.Class<T> proxyType,
WeldInjectionPointAttributes<?,?> delegateInjectionPoint,
Bean<?> bean)
protected void addAdditionalInterfaces(java.util.Set<java.lang.Class<?>> interfaces)
ProxyFactoryaddAdditionalInterfaces in class ProxyFactory<T>protected void addMethodsFromClass(ClassFile proxyClassType, ClassMethod staticConstructor)
addMethodsFromClass in class ProxyFactory<T>protected java.lang.String getProxyNameSuffix()
ProxyFactorygetProxyNameSuffix in class ProxyFactory<T>Copyright © 2015. All Rights Reserved.