Ejemplo n.º 1
0
 private EnhancedResultObjectProxyImpl(
     Class<?> type,
     ResultLoaderMap lazyLoader,
     Configuration configuration,
     ObjectFactory objectFactory,
     List<Class<?>> constructorArgTypes,
     List<Object> constructorArgs) {
   this.type = type;
   this.lazyLoader = lazyLoader;
   this.aggressive = configuration.isAggressiveLazyLoading();
   this.lazyLoadTriggerMethods = configuration.getLazyLoadTriggerMethods();
   this.objectFactory = objectFactory;
   this.constructorArgTypes = constructorArgTypes;
   this.constructorArgs = constructorArgs;
 }