private static KryoFactory getFactory()

in modules/kryo/src/main/java/org/apache/fluo/recipes/kryo/KryoSimplerSerializer.java [47:54]


  private static KryoFactory getFactory(String factoryType) {
    try {
      return KryoSimplerSerializer.class.getClassLoader().loadClass(factoryType)
          .asSubclass(KryoFactory.class).newInstance();
    } catch (InstantiationException | IllegalAccessException | ClassNotFoundException e) {
      throw new RuntimeException(e);
    }
  }