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(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)
Adds methods requiring special implementations rather than just
delegation.
|
protected String |
getProxyNameSuffix()
Returns a suffix to append to the name of the proxy class.
|
addAdditionalInterfaces, addConstructedGuardToMethodBody, addConstructors, addFields, addInterface, addMethods, addMethodsFromClass, addSerializationSupport, create, createForwardingMethodBody, createInterceptorBody, createSpecialMethodBody, generateEqualsMethod, generateHashCodeMethod, getAdditionalInterfaces, getBaseProxyName, getBean, getBeanType, getCachedProxyClass, getContextId, getProxyClass, invokeMethodHandler, isCreatingProxy, isProxy, isUsingUnsafeInstantiators, resolveClassLoaderForBeanProxy, setBeanInstance
public EnterpriseProxyFactory(Class<T> proxiedBeanType, SessionBean<T> bean)
proxiedBeanType
- the actual enterprise beanprotected void addSpecialMethods(ClassFile proxyClassType)
ProxyFactory
addSpecialMethods
in class ProxyFactory<T>
proxyClassType
- the Javassist class description for the proxy typeprotected String getProxyNameSuffix()
ProxyFactory
getProxyNameSuffix
in class ProxyFactory<T>
Copyright © 2013 Seam Framework. All Rights Reserved.