Home » Hibernate-3.3.2.GA » org.hibernate » bytecode » [javadoc | source]
org.hibernate.bytecode
public interface: ProxyFactoryFactory [javadoc | source]

All Known Implementing Classes:
    ProxyFactoryFactoryImpl, ProxyFactoryFactoryImpl

An interface for factories of proxy factory instances.

Currently used to abstract from the tupizer whether we are using CGLIB or Javassist for lazy proxy generation.

Method from org.hibernate.bytecode.ProxyFactoryFactory Summary:
buildBasicProxyFactory,   buildProxyFactory
Method from org.hibernate.bytecode.ProxyFactoryFactory Detail:
 public BasicProxyFactory buildBasicProxyFactory(Class superClass,
    Class[] interfaces)
    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).

 public ProxyFactory buildProxyFactory()
    Build a proxy factory specifically for handling runtime lazy loading.