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

openapi.server.sdk.config.BeanScanConfig Maven / Gradle / Ivy

package openapi.server.sdk.config;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment;

/**
 * @author wanghuidong
 */
@ComponentScans(value =
        {@ComponentScan(value = "openapi.server.sdk")})
@EntityScan(basePackages = {"openapi.server.sdk"})
@Configuration
public class BeanScanConfig implements EnvironmentAware {

    @Override
    public void setEnvironment(Environment environment) {
        System.out.println("############################ init openapi-server-sdk BeanScanConfig ##############################");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy