Class AccessPlanFactory
java.lang.Object
com.ibatis.sqlmap.engine.accessplan.AccessPlanFactory
Factory to get an accesss plan appropriate for an object.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccessPlan
getAccessPlan
(Class clazz, String[] propertyNames) Creates an access plan for working with a bean.static boolean
Tells whether or not bytecode enhancement (CGLIB, etc) is enabled.static void
setBytecodeEnhancementEnabled
(boolean bytecodeEnhancementEnabled) Turns on or off bytecode enhancement (CGLIB, etc).
-
Method Details
-
getAccessPlan
Creates an access plan for working with a bean.- Parameters:
clazz
- the clazzpropertyNames
- the property names- 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
-