Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.bytecode.javassist
Class ProxyFactoryFactoryImpl  view ProxyFactoryFactoryImpl download ProxyFactoryFactoryImpl.java

java.lang.Object
  extended byorg.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.


Nested Class Summary
private static class ProxyFactoryFactoryImpl.BasicProxyFactoryImpl
           
private static class ProxyFactoryFactoryImpl.PassThroughHandler
           
 
Field Summary
private static MethodFilter FINALIZE_FILTER
           
 
Constructor Summary
ProxyFactoryFactoryImpl()
           
 
Method Summary
 org.hibernate.bytecode.BasicProxyFactory buildBasicProxyFactory(java.lang.Class superClass, java.lang.Class[] interfaces)
          Build a proxy factory for basic proxy concerns.
 org.hibernate.proxy.ProxyFactory buildProxyFactory()
          Builds a Javassist-based proxy factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FINALIZE_FILTER

private static final MethodFilter FINALIZE_FILTER
Constructor Detail

ProxyFactoryFactoryImpl

public ProxyFactoryFactoryImpl()
Method Detail

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