com.ibatis.sqlmap.engine.accessplan
Class AccessPlanFactory

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.accessplan.AccessPlanFactory

public class AccessPlanFactory
extends java.lang.Object

Factory to get an accesss plan appropriate for an object


Method Summary
static AccessPlan getAccessPlan(java.lang.Class clazz, java.lang.String[] propertyNames)
          Creates an access plan for working with a bean
static boolean isBytecodeEnhancementEnabled()
          Tells whether or not bytecode enhancement (CGLIB, etc) is enabled
static void setBytecodeEnhancementEnabled(boolean bytecodeEnhancementEnabled)
          Turns on or off bytecode enhancement (CGLIB, etc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAccessPlan

public static AccessPlan getAccessPlan(java.lang.Class clazz,
                                       java.lang.String[] propertyNames)
Creates an access plan for working with a bean

Parameters:
clazz -
propertyNames -
Returns:
An access plan

isBytecodeEnhancementEnabled

public static boolean isBytecodeEnhancementEnabled()
Tells whether or not bytecode enhancement (CGLIB, etc) is enabled

Returns:
true if bytecode enhancement is enabled

setBytecodeEnhancementEnabled

public static void setBytecodeEnhancementEnabled(boolean bytecodeEnhancementEnabled)
Turns on or off bytecode enhancement (CGLIB, etc)

Parameters:
bytecodeEnhancementEnabled - - the switch