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

public Class InstantiationOptimizerAdapter

extends Object
implements InstantiationOptimizer, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.hibernate.bytecode.ReflectionOptimizer.InstantiationOptimizer
Imports
org.hibernate.bytecode.ReflectionOptimizer, org.hibernate.InstantiationException, java.io.Serializable

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

Field Summary

Modifier and TypeField and Description
private final 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.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fastClassback to summary
private final 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.