java.lang.Object
org.hibernate.bytecode.javassist.ProxyFactoryFactoryImpl
- All Implemented Interfaces:
- org.hibernate.bytecode.ProxyFactoryFactory
- public class ProxyFactoryFactoryImpl
- extends java.lang.Object
- implements org.hibernate.bytecode.ProxyFactoryFactory
A factory for Javassist-based org.hibernate.proxy.ProxyFactory instances.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FINALIZE_FILTER
private static final MethodFilter FINALIZE_FILTER
ProxyFactoryFactoryImpl
public ProxyFactoryFactoryImpl()
buildProxyFactory
public org.hibernate.proxy.ProxyFactory buildProxyFactory()
- Builds a Javassist-based proxy factory.
- Specified by:
buildProxyFactory in interface org.hibernate.bytecode.ProxyFactoryFactory
buildBasicProxyFactory
public org.hibernate.bytecode.BasicProxyFactory buildBasicProxyFactory(java.lang.Class superClass,
java.lang.Class[] interfaces)
- Description copied from interface:
org.hibernate.bytecode.ProxyFactoryFactory
- Build a proxy factory for basic proxy concerns. The return
should be capable of properly handling newInstance() calls.
Should build basic proxies essentially equivalent to JDK proxies in
terms of capabilities, but should be able to deal with abstract super
classes in addition to proxy interfaces.
Must pass in either superClass or interfaces (or both).
- Specified by:
buildBasicProxyFactory in interface org.hibernate.bytecode.ProxyFactoryFactory