package easydo.technology;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import easydo.technology.utils.SpringContextHolder;

@Configuration
@SpringBootApplication
@ComponentScan({ "com", "easydo", "zmo" })
@EnableTransactionManagement
public class MesApplication {

    @Bean
    public SpringContextHolder springContextHolder() {
        return new SpringContextHolder();
    }

    public static void main(String[] args) {
        SpringApplication.run(MesApplication.class, args);
    }
}
