|
@@ -0,0 +1,18 @@
|
|
|
+package com.ctrip.framework.apollo.adminservice;
|
|
|
+
|
|
|
+import org.springframework.boot.builder.SpringApplicationBuilder;
|
|
|
+import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
|
|
+
|
|
|
+/**
|
|
|
+ * Entry point for traditional web app
|
|
|
+ *
|
|
|
+ * @author Jason Song(song_s@ctrip.com)
|
|
|
+ */
|
|
|
+public class ServletInitializer extends SpringBootServletInitializer {
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
|
|
|
+ return application.sources(AdminServiceApplication.class);
|
|
|
+ }
|
|
|
+
|
|
|
+}
|