public class DecoratorProxyFactory<T> extends ProxyFactory<T>
BeanInstance
for further processing.Modifier and Type | Class and Description |
---|---|
protected static class |
DecoratorProxyFactory.TargetInstanceBytecodeMethodResolver |
Modifier and Type | Field and Description |
---|---|
static 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(String contextId,
Class<T> proxyType,
WeldInjectionPointAttributes<?,?> delegateInjectionPoint,
javax.enterprise.inject.spi.Bean<?> bean) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAdditionalInterfaces(Set<Class<?>> interfaces)
Sub classes may override to specify additional interfaces the proxy should
implement
|
protected void |
addMethodsFromClass(org.jboss.classfilewriter.ClassFile proxyClassType,
org.jboss.classfilewriter.ClassMethod staticConstructor) |
protected 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, generateHashCodeMethod, getAdditionalInterfaces, getBaseProxyName, getBean, getBeanType, getCachedProxyClass, getContextId, getProxyClass, invokeMethodHandler, isCreatingProxy, isProxy, isUsingUnsafeInstantiators, resolveClassLoaderForBeanProxy, setBeanInstance
public static final String PROXY_SUFFIX
public DecoratorProxyFactory(String contextId, Class<T> proxyType, WeldInjectionPointAttributes<?,?> delegateInjectionPoint, javax.enterprise.inject.spi.Bean<?> bean)
protected void addAdditionalInterfaces(Set<Class<?>> interfaces)
ProxyFactory
addAdditionalInterfaces
in class ProxyFactory<T>
protected void addMethodsFromClass(org.jboss.classfilewriter.ClassFile proxyClassType, org.jboss.classfilewriter.ClassMethod staticConstructor)
addMethodsFromClass
in class ProxyFactory<T>
protected String getProxyNameSuffix()
ProxyFactory
getProxyNameSuffix
in class ProxyFactory<T>
Copyright © 2016. All rights reserved.