org.hibernate.bytecode.cglib
Class AccessOptimizerAdapter

java.lang.Object
  extended byorg.hibernate.bytecode.cglib.AccessOptimizerAdapter
All Implemented Interfaces:
ReflectionOptimizer.AccessOptimizer, Serializable

public class AccessOptimizerAdapter
extends Object
implements ReflectionOptimizer.AccessOptimizer, Serializable

The ReflectionOptimizer.AccessOptimizer implementation for CGLIB which simply acts as an adpater to the BulkBean class.

Author:
Steve Ebersole
See Also:
Serialized Form

Field Summary
static String PROPERTY_GET_EXCEPTION
           
static String PROPERTY_SET_EXCEPTION
           
 
Constructor Summary
AccessOptimizerAdapter(net.sf.cglib.beans.BulkBean bulkBean, Class mappedClass)
           
 
Method Summary
 String[] getPropertyNames()
           
 Object[] getPropertyValues(Object object)
           
 void setPropertyValues(Object object, Object[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_GET_EXCEPTION

public static final String PROPERTY_GET_EXCEPTION
See Also:
Constant Field Values

PROPERTY_SET_EXCEPTION

public static final String PROPERTY_SET_EXCEPTION
See Also:
Constant Field Values
Constructor Detail

AccessOptimizerAdapter

public AccessOptimizerAdapter(net.sf.cglib.beans.BulkBean bulkBean,
                              Class mappedClass)
Method Detail

getPropertyNames

public String[] getPropertyNames()
Specified by:
getPropertyNames in interface ReflectionOptimizer.AccessOptimizer

getPropertyValues

public Object[] getPropertyValues(Object object)
Specified by:
getPropertyValues in interface ReflectionOptimizer.AccessOptimizer

setPropertyValues

public void setPropertyValues(Object object,
                              Object[] values)
Specified by:
setPropertyValues in interface ReflectionOptimizer.AccessOptimizer