All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lodsve.dfs.annotations.DfsConfigurationSelector Maven / Gradle / Ivy

There is a newer version: 2.7.5-RELEASE
Show newest version
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()};
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy