com.sunny.bootstrap.Bootstrap Maven / Gradle / Ivy
package com.sunny.bootstrap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
/**
* BootStrap
*
* @author sunny
* @version 1.0.0
* @since 2015-09-06
*/
@Configuration
@ComponentScan(value = "com.sunny.configuration")
@SuppressWarnings("unused")
public class Bootstrap implements InitializingBean {
private static Logger logger = LoggerFactory.getLogger(Bootstrap.class);
@Override
public void afterPropertiesSet() throws Exception {
logger.info("bootstrap success.");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy