| org.hibernate.bytecode.ProxyFactoryFactory
All known Subclasses: org.hibernate.bytecode.cglib.ProxyFactoryFactoryImpl, org.hibernate.bytecode.javassist.ProxyFactoryFactoryImpl,
ProxyFactoryFactory | public interface ProxyFactoryFactory (Code) | | An interface for factories of
ProxyFactory proxy factory instances.
Currently used to abstract from the tupizer whether we are using CGLIB or
Javassist for lazy proxy generation.
author: Steve Ebersole |
buildBasicProxyFactory | public BasicProxyFactory buildBasicProxyFactory(Class superClass, Class[] interfaces)(Code) | | 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).
Parameters: superClass - The abstract super class (or null if none). Parameters: interfaces - Interfaces to be proxied (or null if none). The proxy class |
buildProxyFactory | public ProxyFactory buildProxyFactory()(Code) | | Build a proxy factory specifically for handling runtime
lazy loading.
The lazy-load proxy factory. |
|
|