public class

ProxyFactoryFactoryImpl

extends Object
implements ProxyFactoryFactory
java.lang.Object
   ↳ org.hibernate.bytecode.javassist.ProxyFactoryFactoryImpl

Class Overview

A factory for Javassist-based ProxyFactory instances.

Summary

Public Constructors
ProxyFactoryFactoryImpl()
Public Methods
BasicProxyFactory buildBasicProxyFactory(Class superClass, Class[] interfaces)
Build a proxy factory for basic proxy concerns.
ProxyFactory buildProxyFactory()
Builds a Javassist-based proxy factory.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.bytecode.ProxyFactoryFactory

Public Constructors

public ProxyFactoryFactoryImpl ()

Public Methods

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).

Parameters
superClass The abstract super class (or null if none).
interfaces Interfaces to be proxied (or null if none).
Returns
  • The proxy class

public ProxyFactory buildProxyFactory ()

Builds a Javassist-based proxy factory.

Returns
  • a new Javassist-based proxy factory.