Top Fields Constructors Methods
org.hibernate.bytecode.internal.bytebuddy

public Class ProxyFactoryFactoryImpl

extends Object
implements ProxyFactoryFactory
Class Inheritance
All Implemented Interfaces
org.hibernate.bytecode.spi.ProxyFactoryFactory, org.hibernate.service.Service, java.io.Serializable
Imports
org.hibernate.bytecode.spi.BasicProxyFactory, .ProxyFactoryFactory, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.proxy.ProxyFactory, org.hibernate.proxy.pojo.bytebuddy.ByteBuddyProxyFactory, .ByteBuddyProxyHelper

Field Summary

Modifier and TypeField and Description
private final ByteBuddyProxyHelper
private final ByteBuddyState

Constructor Summary

AccessConstructor and Description
public
ProxyFactoryFactoryImpl(ByteBuddyState byteBuddyState, ByteBuddyProxyHelper byteBuddyProxyHelper)

Method Summary

Modifier and TypeMethod and Description
public BasicProxyFactory
buildBasicProxyFactory(Class<T>
The abstract super class, or the interface to be proxied.
superClassOrInterface
)

Implements org.hibernate.bytecode.spi.ProxyFactoryFactory.buildBasicProxyFactory.

Build a proxy factory for basic proxy concerns.
public ProxyFactory
buildProxyFactory(SessionFactoryImplementor sessionFactory)

Implements org.hibernate.bytecode.spi.ProxyFactoryFactory.buildProxyFactory.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Build a proxy factory specifically for handling runtime lazy loading.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

byteBuddyProxyHelperback to summary
private final ByteBuddyProxyHelper byteBuddyProxyHelper
byteBuddyStateback to summary
private final ByteBuddyState byteBuddyState

Constructor Detail

ProxyFactoryFactoryImplback to summary
public ProxyFactoryFactoryImpl(ByteBuddyState byteBuddyState, ByteBuddyProxyHelper byteBuddyProxyHelper)

Method Detail

buildBasicProxyFactoryback to summary
public BasicProxyFactory buildBasicProxyFactory(Class<T> superClassOrInterface)

Implements org.hibernate.bytecode.spi.ProxyFactoryFactory.buildBasicProxyFactory.

Doc from org.hibernate.bytecode.spi.ProxyFactoryFactory.buildBasicProxyFactory.

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 a superClass or an interface.

Parameters
superClassOrInterface:Class<T>

The abstract super class, or the interface to be proxied.

Returns:BasicProxyFactory

The proxy class

buildProxyFactoryback to summary
public ProxyFactory buildProxyFactory(SessionFactoryImplementor sessionFactory)

Implements org.hibernate.bytecode.spi.ProxyFactoryFactory.buildProxyFactory.

Doc from org.hibernate.bytecode.spi.ProxyFactoryFactory.buildProxyFactory.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Build a proxy factory specifically for handling runtime lazy loading.

Returns:ProxyFactory

The lazy-load proxy factory.

Annotations
@Override