org.hibernate.bytecode.cglib
Class InstantiationOptimizerAdapter

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

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

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

Author:
Steve Ebersole
See Also:
Serialized Form

Constructor Summary
InstantiationOptimizerAdapter(net.sf.cglib.reflect.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
 

Constructor Detail

InstantiationOptimizerAdapter

public InstantiationOptimizerAdapter(net.sf.cglib.reflect.FastClass fastClass)
Method Detail

newInstance

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

Specified by:
newInstance in interface ReflectionOptimizer.InstantiationOptimizer
Returns:
The new instance.


Copyright © 2008 Hibernate.org. All Rights Reserved.