1 package jfun.yan.web; 2 3 import jfun.yan.Component; 4 import jfun.yan.xml.nuts.ConstructorNut; 5 15 public class WebCtorNut extends ConstructorNut { 16 private String servlet_context_property = WebUtils.DEFAULT_SERVLET_CONTEXT_PROPERTY; 17 18 public String getServlet_context_property() { 19 return servlet_context_property; 20 } 21 22 public void setServlet_context_property(String servlet_context_name) { 23 this.servlet_context_property = servlet_context_name; 24 } 25 protected Component informAwares(Component c) { 26 return WebUtils.setPossibleServletContext(super.informAwares(c), servlet_context_property, this); 27 } 28 } 29 | Popular Tags |