org.apache.jasper.compiler.Generator.generateDestroy()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(4.6k)|赞(0)|评价(0)|浏览(115)

本文整理了Java中org.apache.jasper.compiler.Generator.generateDestroy()方法的一些代码示例,展示了Generator.generateDestroy()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Generator.generateDestroy()方法的具体详情如下:
包路径:org.apache.jasper.compiler.Generator
类名称:Generator
方法名:generateDestroy

Generator.generateDestroy介绍

[英]Generates the _jspDestroy() method which is responsible for calling the release() method on every tag handler in any of the tag handler pools.
[中]生成_jspDestroy()方法,该方法负责对任何标记处理程序池中的每个标记处理程序调用release()方法。

代码示例

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Declare general-purpose methods (shared by servlet and tag handler
 * preamble generation)
 */
private void genPreambleMethods() {
  // Method used to get compile time file dependencies
  out.printil("public java.util.List<java.lang.String> getDependants() {");
  out.pushIndent();
  out.printil("return _jspx_dependants;");
  out.popIndent();
  out.printil("}");
  out.println();
  generateInit();
  generateDestroy();
}

代码示例来源:origin: org.apache.geronimo.ext.tomcat/jasper

/**
 * Declare general-purpose methods (shared by servlet and tag handler
 * preamble generation)
 */
private void genPreambleMethods() {
  // Method used to get compile time file dependencies
  out.printil("public java.util.Map<java.lang.String,java.lang.Long> getDependants() {");
  out.pushIndent();
  out.printil("return _jspx_dependants;");
  out.popIndent();
  out.printil("}");
  out.println();
  generateInit();
  generateDestroy();
}

代码示例来源:origin: jboss.web/jbossweb

/**
 * Declare general-purpose methods (shared by servlet and tag handler
 * preamble generation)
 */
private void genPreambleMethods() throws JasperException {
  // Method used to get compile time file dependencies
  out.printil("public Object getDependants() {");
  out.pushIndent();
  out.printil("return _jspx_dependants;");
  out.popIndent();
  out.printil("}");
  out.println();
  generateInit();
  generateDestroy();
}

代码示例来源:origin: org.jboss.web/jbossweb

/**
 * Declare general-purpose methods (shared by servlet and tag handler
 * preamble generation)
 */
private void genPreambleMethods() throws JasperException {
  // Method used to get compile time file dependencies
  out.printil("public Object getDependants() {");
  out.pushIndent();
  out.printil("return _jspx_dependants;");
  out.popIndent();
  out.printil("}");
  out.println();
  generateInit();
  generateDestroy();
}

代码示例来源:origin: codefollower/Tomcat-Research

/**
 * Declare general-purpose methods (shared by servlet and tag handler
 * preamble generation)
 */
private void genPreambleMethods() {
  // Method used to get compile time file dependencies
  out.printil("public java.util.Map<java.lang.String,java.lang.Long> getDependants() {");
  out.pushIndent();
  out.printil("return _jspx_dependants;");
  out.popIndent();
  out.printil("}");
  out.println();
  generateInit();
  generateDestroy();
}

代码示例来源:origin: org.apache.tomcat/tomcat-jasper

/**
 * Declare general-purpose methods (shared by servlet and tag handler
 * preamble generation)
 */
private void genPreambleMethods() {
  // Implement JspSourceDependent
  out.printil("public java.util.Map<java.lang.String,java.lang.Long> getDependants() {");
  out.pushIndent();
  out.printil("return _jspx_dependants;");
  out.popIndent();
  out.printil("}");
  out.println();
  // Implement JspSourceImports
  out.printil("public java.util.Set<java.lang.String> getPackageImports() {");
  out.pushIndent();
  out.printil("return _jspx_imports_packages;");
  out.popIndent();
  out.printil("}");
  out.println();
  out.printil("public java.util.Set<java.lang.String> getClassImports() {");
  out.pushIndent();
  out.printil("return _jspx_imports_classes;");
  out.popIndent();
  out.printil("}");
  out.println();
  generateGetters();
  generateInit();
  generateDestroy();
}

代码示例来源:origin: io.undertow.jastow/jastow

/**
 * Declare general-purpose methods (shared by servlet and tag handler
 * preamble generation)
 */
private void genPreambleMethods() {
  // Implement JspSourceDependent
  out.printil("public java.util.Map<java.lang.String,java.lang.Long> getDependants() {");
  out.pushIndent();
  out.printil("return _jspx_dependants;");
  out.popIndent();
  out.printil("}");
  out.println();
  // Implement JspSourceImports
  out.printil("public java.util.Set<java.lang.String> getPackageImports() {");
  out.pushIndent();
  out.printil("return _jspx_imports_packages;");
  out.popIndent();
  out.printil("}");
  out.println();
  out.printil("public java.util.Set<java.lang.String> getClassImports() {");
  out.pushIndent();
  out.printil("return _jspx_imports_classes;");
  out.popIndent();
  out.printil("}");
  out.println();
  generateGetters();
  generateInit();
  generateDestroy();
}

相关文章