MCPcopy Create free account
hub / github.com/defineYIDA/LWebServer / WebApplication

Class WebApplication

src/main/java/cn/lws/server/WebApplication.java:9–20  ·  view source on GitHub ↗

Created by zl on 2019/03/01 singleton模式

Source from the content-addressed store, hash-verified

7 * singleton模式
8 */
9public class WebApplication {
10 private static ServletContext servletContext;
11
12 static {
13 servletContext = new ServletContext();
14 }
15
16 public static ServletContext getServletContext() {
17 return servletContext;
18 }
19
20}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected