org.apache.juli.logging.LogFactory.release()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(98)

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

LogFactory.release介绍

[英]Release any internal references to previously created Loginstances returned by this factory. This is useful in environments like servlet containers, which implement application reloading by throwing away a ClassLoader. Dangling references to objects in that class loader would prevent garbage collection.
[中]释放对此工厂返回的以前创建的登录实例的任何内部引用。这在servlet容器之类的环境中很有用,servlet容器通过丢弃类加载器来实现应用程序重新加载。挂起对该类装入器中对象的引用将阻止垃圾收集。

代码示例

代码示例来源:origin: camunda/camunda-bpm-platform

/**
 * Release any internal references to previously created {@link LogFactory}
 * instances, after calling the instance method <code>release()</code> on
 * each of them.  This is useful in environments like servlet containers,
 * which implement application reloading by throwing away a ClassLoader.
 * Dangling references to objects in that class loader would prevent
 * garbage collection.
 */
public static void releaseAll() {
  singleton.release();
}

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

/**
 * Release any internal references to previously created {@link LogFactory}
 * instances, after calling the instance method <code>release()</code> on
 * each of them.  This is useful in environments like servlet containers,
 * which implement application reloading by throwing away a ClassLoader.
 * Dangling references to objects in that class loader would prevent
 * garbage collection.
 */
public static void releaseAll() {
  singleton.release();
}

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

/**
 * Release any internal references to previously created {@link LogFactory}
 * instances, after calling the instance method <code>release()</code> on
 * each of them.  This is useful in environments like servlet containers,
 * which implement application reloading by throwing away a ClassLoader.
 * Dangling references to objects in that class loader would prevent
 * garbage collection.
 */
public static void releaseAll() {
  singleton.release();
}

代码示例来源:origin: org.apache.juli/com.springsource.org.apache.juli.extras

/**
 * Release any internal references to previously created {@link LogFactory}
 * instances, after calling the instance method <code>release()</code> on
 * each of them.  This is useful in environments like servlet containers,
 * which implement application reloading by throwing away a ClassLoader.
 * Dangling references to objects in that class loader would prevent
 * garbage collection.
 */
public static void releaseAll() {
  singleton.release();
}

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

/**
 * Release any internal references to previously created {@link LogFactory}
 * instances, after calling the instance method <code>release()</code> on
 * each of them.  This is useful in environments like servlet containers,
 * which implement application reloading by throwing away a ClassLoader.
 * Dangling references to objects in that class loader would prevent
 * garbage collection.
 */
public static void releaseAll() {
  singleton.release();
}

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

/**
 * Release any internal references to previously created {@link LogFactory}
 * instances, after calling the instance method <code>release()</code> on
 * each of them.  This is useful in environments like servlet containers,
 * which implement application reloading by throwing away a ClassLoader.
 * Dangling references to objects in that class loader would prevent
 * garbage collection.
 */
public static void releaseAll() {
  singleton.release();
}

代码示例来源:origin: org.apache.openejb/tomee-juli

public static void releaseAll() {
  singleton.release();
}

代码示例来源:origin: org.apache.tomcat.extras/tomcat-extras-juli-adapters

LogFactory.release(tccl);

代码示例来源:origin: org.mobicents.servlet.sip.containers/sip-servlets-tomcat-jboss4

org.apache.juli.logging.LogFactory.release(this);

代码示例来源:origin: org.mobicents.servlet.sip.containers/sip-servlets-tomcat-7

org.apache.juli.logging.LogFactory.release(this);

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

} finally {
  if (loader != null) {
    LogFactory.release(loader);

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

} finally {
  if (loader != null) {
    LogFactory.release(loader);

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

org.apache.juli.logging.LogFactory.release(this);

代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

org.apache.juli.logging.LogFactory.release(this);

代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina

org.apache.juli.logging.LogFactory.release(this);

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

org.apache.juli.logging.LogFactory.release(this);

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

org.apache.juli.logging.LogFactory.release(this);

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

org.apache.juli.logging.LogFactory.release(this);

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

org.apache.juli.logging.LogFactory.release(this);

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

org.apache.juli.logging.LogFactory.release(this);

相关文章