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.
26 lines
772 B
26 lines
772 B
4 years ago
|
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;
|
||
|
}
|
||
|
}
|