org.wso2.carbon.appfactory.jenkinsext
Class ClassLoaderLeakPreventor
java.lang.Object
org.wso2.carbon.appfactory.jenkinsext.ClassLoaderLeakPreventor
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class ClassLoaderLeakPreventor
- extends Object
- implements javax.servlet.ServletContextListener
This context listener will cleanup all thread local variables created by jenkins.
Note:Once the actual memory leak is fixed in jenkins code we do not use this listener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassLoaderLeakPreventor
public ClassLoaderLeakPreventor()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
- Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
Copyright © 2015 WSO2 Inc. All rights reserved.