1 17 package javax.servlet.jsp; 18 19 import javax.servlet.Servlet ; 20 import javax.servlet.ServletContext ; 21 import javax.servlet.ServletRequest ; 22 import javax.servlet.ServletResponse ; 23 import javax.servlet.jsp.PageContext ; 24 25 43 44 public abstract class JspFactory { 45 46 private static JspFactory deflt = null; 47 48 52 public JspFactory() { 53 } 54 55 63 64 public static synchronized void setDefaultFactory(JspFactory deflt) { 65 JspFactory.deflt = deflt; 66 } 67 68 73 74 public static synchronized JspFactory getDefaultFactory() { 75 return deflt; 76 } 77 78 113 114 public abstract PageContext getPageContext(Servlet servlet, 115 ServletRequest request, 116 ServletResponse response, 117 String errorPageURL, 118 boolean needsSession, 119 int buffer, 120 boolean autoflush); 121 122 132 133 public abstract void releasePageContext(PageContext pc); 134 135 142 143 public abstract JspEngineInfo getEngineInfo(); 144 145 155 public abstract JspApplicationContext getJspApplicationContext(ServletContext context); 156 } 157 | Popular Tags |