Top Description Fields Constructors Methods
org.hibernate.bytecode.cglib

public Class InstantiationOptimizerAdapter

extends Object
implements InstantiationOptimizer, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.hibernate.bytecode.ReflectionOptimizer.InstantiationOptimizer
Annotations
@Deprecated
Imports
org.hibernate.bytecode.ReflectionOptimizer, net.sf.cglib.reflect.FastClass, org.hibernate.InstantiationException, java.io.Serializable, .ObjectOutputStream, .IOException, .ObjectInputStream

Deprecated

Per HHH-5451 support for cglib as a bytecode provider has been deprecated.

The ReflectionOptimizer.InstantiationOptimizer implementation for CGLIB which simply acts as an adapter to the FastClass class.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private FastClass

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
newInstance()

Implements org.hibernate.bytecode.ReflectionOptimizer.InstantiationOptimizer.newInstance.

Perform instantiation of an instance of the underlying class.
private void
private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fastClassback to summary
private FastClass fastClass

Constructor Detail

InstantiationOptimizerAdapterback to summary
public InstantiationOptimizerAdapter(FastClass fastClass)

Method Detail

newInstanceback to summary
public Object newInstance()

Implements org.hibernate.bytecode.ReflectionOptimizer.InstantiationOptimizer.newInstance.

Doc from org.hibernate.bytecode.ReflectionOptimizer.InstantiationOptimizer.newInstance.

Perform instantiation of an instance of the underlying class.

Returns:Object

The new instance.

readObjectback to summary
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
writeObjectback to summary
private void writeObject(ObjectOutputStream out) throws IOException