public class EnterpriseProxyFactory<T> extends ProxyFactory<T>
EnterpriseBeanInstance on the proxy.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, PROXY_SUFFIX| Constructor and Description |
|---|
EnterpriseProxyFactory(java.lang.Class<T> proxiedBeanType,
SessionBean<T> bean)
Produces a factory for a specific bean implementation.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSpecialMethods(ClassFile proxyClassType,
ClassMethod staticConstructor)
Adds methods requiring special implementations rather than just
delegation.
|
protected java.lang.String |
getProxyNameSuffix()
Returns a suffix to append to the name of the proxy class.
|
addAdditionalInterfaces, addConstructedGuardToMethodBody, addConstructors, addFields, addInterface, addInterfacesFromTypeClosure, addMethods, addMethodsFromClass, addSerializationSupport, create, createForwardingMethodBody, createInterceptorBody, createSpecialMethodBody, generateEqualsMethod, generateGetMethodHandlerBody, generateHashCodeMethod, generateSetMethodHandlerBody, getAdditionalInterfaces, getBaseProxyName, getBean, getBeanType, getCachedProxyClass, getContextId, getMethodHandlerField, getMethodHandlerType, getProxyClass, invokeMethodHandler, isCreatingProxy, isProxy, resolveClassLoaderForBeanProxy, run, setBeanInstancepublic EnterpriseProxyFactory(java.lang.Class<T> proxiedBeanType, SessionBean<T> bean)
proxiedBeanType - the actual enterprise beanprotected void addSpecialMethods(ClassFile proxyClassType, ClassMethod staticConstructor)
ProxyFactoryaddSpecialMethods in class ProxyFactory<T>proxyClassType - the Javassist class description for the proxy typeprotected java.lang.String getProxyNameSuffix()
ProxyFactorygetProxyNameSuffix in class ProxyFactory<T>Copyright © 2015. All Rights Reserved.