Browse Source

DEC-16802 fix: FineFileServer.getInstance().getRepoConfig() 接口提供

Dylan.Liu 4 years ago
parent
commit
a74076a85f
  1. 17
      src/main/java/com/fanruan/api/cluster/resource/FineFileServerKit.java

17
src/main/java/com/fanruan/api/cluster/resource/FineFileServerKit.java

@ -0,0 +1,17 @@
package com.fanruan.api.cluster.resource;
import com.fr.decision.fileserver.FineFileServer;
import com.fr.io.config.RepositoryConfig;
/**
* @author Dylan.Liu
* @version 10.0
* Created by Dylan.Liu on 2021/1/12
*/
public class FineFileServerKit {
public static <T extends RepositoryConfig> T getRepoConfig() throws Exception {
return FineFileServer.getInstance().getRepoConfig();
}
}
Loading…
Cancel
Save