本文整理了Java中org.apache.catalina.Context.addPreDestroyMethod()
方法的一些代码示例,展示了Context.addPreDestroyMethod()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Context.addPreDestroyMethod()
方法的具体详情如下:
包路径:org.apache.catalina.Context
类名称:Context
方法名:addPreDestroyMethod
[英]Add a pre destroy method definition for the given class, if there is an existing definition for the specified class - IllegalArgumentException will be thrown.
[中]为给定类添加预销毁方法定义,如果指定类存在现有定义,则将抛出IllegalArgumentException。
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
context.addPreDestroyMethod(entry.getKey(), entry.getValue());
代码示例来源:origin: codefollower/Tomcat-Research
context.addPreDestroyMethod(entry.getKey(), entry.getValue());
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
context.addPreDestroyMethod(entry.getKey(), entry.getValue());
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
context.addPreDestroyMethod(entry.getKey(), entry.getValue());
内容来源于网络,如有侵权,请联系作者删除!