1 23 package org.infoglue.deliver.portal; 24 25 import javax.servlet.ServletConfig ; 26 27 33 public class ServletConfigContainer { 34 35 ServletConfig servletConfig = null; 36 private static ServletConfigContainer instance = null; 37 38 private ServletConfigContainer() {} 39 40 public static ServletConfigContainer getContainer() { 41 if (instance == null) { 42 instance = new ServletConfigContainer(); 43 } 44 return instance; 45 } 46 47 50 public ServletConfig getServletConfig() { 51 return servletConfig; 52 } 53 56 public void setServletConfig(ServletConfig servletConfig) { 57 this.servletConfig = servletConfig; 58 } 59 } 60 | Popular Tags |