使用支持S3协议的云存储作为文件服务器。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
772 B

package com.fanruan.fs.s3.repository;
import com.fr.intelli.record.Focus;
import com.fr.io.base.provider.RepositoryFactoryProvider;
import com.fr.io.fun.AbstractRepositoryFactoryProvider;
import com.fanruan.fs.s3.repository.core.S3Config;
import com.fanruan.fs.s3.repository.core.S3RepositoryFactory;
import com.fr.record.analyzer.EnableMetrics;
/**
* @author richie
* @version 10.0
* Created by richie on 2020/6/15
*/
@EnableMetrics
public class S3FactoryProvider extends AbstractRepositoryFactoryProvider<S3Config> {
private static final S3RepositoryFactory factory = new S3RepositoryFactory();
@Override
@Focus(id="com.fanruan.fs.s3.repository", text="")
public RepositoryFactoryProvider<S3Config> getFactory() {
return factory;
}
}