code: public static LazyProxyFactory createDefaultProxyFactory() {
          if (testDependencyFullFilled()) {
              final String factoryClassName = "dev.morphia.mapping.lazy.CGLibLazyProxyFactory";
              try {
                  return (LazyProxyFactory) Class.forName(factoryClassName).newInstance();
              } catch (Exception e) {
                  LOG.error("While instantiating " + factoryClassName, e);
              }
          }
          return null;
      }
docs: Creates a LazyProxyFactory
  
  @return the LazyProxyFactory