package com.willalp;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

import java.util.stream.Stream;

/**
 * web容器中进行部署
 *
 * @author willalp
 */
public class WillalpServletInitializer extends SpringBootServletInitializer
{
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
    {
        return application.sources(WillalpApplication.class);
    }

}
