FileDocCategorySizeDatePackage
ProxyFactoryFactory.javaAPI DocHibernate 3.2.51192Tue Mar 14 17:12:48 GMT 2006org.hibernate.bytecode

ProxyFactoryFactory

public interface ProxyFactoryFactory
An interface for factories of {@link 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

Fields Summary
Constructors Summary
Methods Summary
public BasicProxyFactorybuildBasicProxyFactory(java.lang.Class superClass, java.lang.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).

param
superClass The abstract super class (or null if none).
param
interfaces Interfaces to be proxied (or null if none).
return
The proxy class

public org.hibernate.proxy.ProxyFactorybuildProxyFactory()
Build a proxy factory specifically for handling runtime lazy loading.

return
The lazy-load proxy factory.