java.lang.Object
org.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fastClass
private FastClass fastClass
InstantiationOptimizerAdapter
public InstantiationOptimizerAdapter(FastClass fastClass)
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