Hisoka-X commented on code in PR #8574: URL: https://github.com/apache/seatunnel/pull/8574#discussion_r1942216322
########## seatunnel-api/src/main/java/org/apache/seatunnel/api/table/factory/FactoryUtil.java: ########## @@ -273,6 +283,23 @@ public static <T extends Factory> URL getFactoryUrl(T factory) { return factory.getClass().getProtectionDomain().getCodeSource().getLocation(); } + public static <T extends Factory> Optional<T> discoverOptionalFactory( + ClassLoader classLoader, + Class<T> factoryClass, + String factoryIdentifier, + Function<String, T> transformFactoryFunction) { Review Comment: why named `transformFactoryFunction`? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org