lodsve.dfs.annotations.DfsConfigurationSelector Maven / Gradle / Ivy
package lodsve.dfs.annotations;
import lodsve.dfs.configuration.DfsBeanDefinitionRegistrar;
import lodsve.dfs.configuration.DfsConfiguration;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;
/**
* 加载配置.
*
* @author sunhao([email protected])
* @version 1.0 2017-12-4-0004 11:19
*/
public class DfsConfigurationSelector implements ImportSelector {
@Override
public String[] selectImports(AnnotationMetadata annotationMetadata) {
return new String[]{DfsConfiguration.class.getName(), DfsBeanDefinitionRegistrar.class.getName()};
}
}