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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.hibernate.bytecode.cglib.ProxyFactoryFactoryImpl
All Implemented Interfaces:
org.hibernate.bytecode.ProxyFactoryFactory

public class ProxyFactoryFactoryImpl
extends java.lang.Object
implements org.hibernate.bytecode.ProxyFactoryFactory

A factory for CGLIB-based org.hibernate.proxy.ProxyFactory instances.


Nested Class Summary
static class ProxyFactoryFactoryImpl.BasicProxyFactoryImpl
           
private static class ProxyFactoryFactoryImpl.PassThroughInterceptor
           
 
Field Summary
private static java.lang.Class[] CALLBACK_TYPES
           
private static CallbackFilter 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 CGLIB-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 CallbackFilter FINALIZE_FILTER

CALLBACK_TYPES

private static final java.lang.Class[] CALLBACK_TYPES
Constructor Detail

ProxyFactoryFactoryImpl

public ProxyFactoryFactoryImpl()
Method Detail

buildProxyFactory

public org.hibernate.proxy.ProxyFactory buildProxyFactory()
Builds a CGLIB-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