Class CglibProxyFactory.EnhancedDeserializationProxyImpl
java.lang.Object
org.apache.ibatis.executor.loader.AbstractEnhancedDeserializationProxy
org.apache.ibatis.executor.loader.cglib.CglibProxyFactory.EnhancedDeserializationProxyImpl
- All Implemented Interfaces:
net.sf.cglib.proxy.Callback
,net.sf.cglib.proxy.MethodInterceptor
- Enclosing class:
- CglibProxyFactory
private static class CglibProxyFactory.EnhancedDeserializationProxyImpl
extends AbstractEnhancedDeserializationProxy
implements net.sf.cglib.proxy.MethodInterceptor
-
Field Summary
Fields inherited from class org.apache.ibatis.executor.loader.AbstractEnhancedDeserializationProxy
FINALIZE_METHOD, WRITE_REPLACE_METHOD
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
EnhancedDeserializationProxyImpl
(Class<?> type, Map<String, ResultLoaderMap.LoadPair> unloadedProperties, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
createProxy
(Object target, Map<String, ResultLoaderMap.LoadPair> unloadedProperties, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) intercept
(Object enhanced, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy methodProxy) protected AbstractSerialStateHolder
newSerialStateHolder
(Object userBean, Map<String, ResultLoaderMap.LoadPair> unloadedProperties, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) Methods inherited from class org.apache.ibatis.executor.loader.AbstractEnhancedDeserializationProxy
invoke
-
Constructor Details
-
EnhancedDeserializationProxyImpl
private EnhancedDeserializationProxyImpl(Class<?> type, Map<String, ResultLoaderMap.LoadPair> unloadedProperties, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs)
-
-
Method Details
-
createProxy
public static Object createProxy(Object target, Map<String, ResultLoaderMap.LoadPair> unloadedProperties, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) -
intercept
public Object intercept(Object enhanced, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy methodProxy) throws Throwable - Specified by:
intercept
in interfacenet.sf.cglib.proxy.MethodInterceptor
- Throws:
Throwable
-
newSerialStateHolder
protected AbstractSerialStateHolder newSerialStateHolder(Object userBean, Map<String, ResultLoaderMap.LoadPair> unloadedProperties, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) - Specified by:
newSerialStateHolder
in classAbstractEnhancedDeserializationProxy
-