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

Quick Search    Search Deep

org.hibernate.bytecode.javassist
Class InstantiationOptimizerAdapter  view InstantiationOptimizerAdapter download InstantiationOptimizerAdapter.java

java.lang.Object
  extended byorg.hibernate.bytecode.javassist.InstantiationOptimizerAdapter
All Implemented Interfaces:
org.hibernate.bytecode.ReflectionOptimizer.InstantiationOptimizer, java.io.Serializable

public class InstantiationOptimizerAdapter
extends java.lang.Object
implements org.hibernate.bytecode.ReflectionOptimizer.InstantiationOptimizer, java.io.Serializable

The ReflectionOptimizer.InstantiationOptimizer implementation for Javassist which simply acts as an adpater to the FastClass class.


Field Summary
private  FastClass fastClass
           
 
Constructor Summary
InstantiationOptimizerAdapter(FastClass fastClass)
           
 
Method Summary
 java.lang.Object newInstance()
          Perform instantiation of an instance of the underlying class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fastClass

private final FastClass fastClass
Constructor Detail

InstantiationOptimizerAdapter

public InstantiationOptimizerAdapter(FastClass fastClass)
Method Detail

newInstance

public java.lang.Object newInstance()
Description copied from interface: org.hibernate.bytecode.ReflectionOptimizer.InstantiationOptimizer
Perform instantiation of an instance of the underlying class.

Specified by:
newInstance in interface org.hibernate.bytecode.ReflectionOptimizer.InstantiationOptimizer