Examples of ThreadLocalLeakPreventionListener


Examples of org.apache.catalina.core.ThreadLocalLeakPreventionListener

    }
  }

  private static void configureServer(Server server) {
    server.addLifecycleListener(new JreMemoryLeakPreventionListener());
    server.addLifecycleListener(new ThreadLocalLeakPreventionListener());
  }
View Full Code Here

Examples of org.apache.catalina.core.ThreadLocalLeakPreventionListener

      Server server = tomcat.getServer();
      server.addLifecycleListener(new AprLifecycleListener());
      server.addLifecycleListener(new JasperListener());
      server.addLifecycleListener(new JreMemoryLeakPreventionListener());
      server.addLifecycleListener(new GlobalResourcesLifecycleListener());
      server.addLifecycleListener(new ThreadLocalLeakPreventionListener());
    }

    for (ContextEnvironment env : contextEnvironments) {
      ctx.getNamingResources().addEnvironment(env);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.