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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.hibernate.bytecode.cglib.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 CGLIB 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.
private  void readObject(java.io.ObjectInputStream in)
           
private  void writeObject(java.io.ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fastClass

private 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

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException