Class AppContextLeakPreventer
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.preventers.AbstractLeakPreventer
org.eclipse.jetty.util.preventers.AppContextLeakPreventer
- All Implemented Interfaces:
 LifeCycle
Cause the classloader that is pinned by AppContext.getAppContext() to be
a container or system classloader, not a webapp classloader.
Inspired by Tomcat JreMemoryLeakPrevention.
- 
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener - 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class AbstractLeakPreventer
doStartMethods inherited from class AbstractLifeCycle
addEventListener, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString 
- 
Constructor Details
- 
AppContextLeakPreventer
public AppContextLeakPreventer() 
 - 
 - 
Method Details
- 
prevent
- Specified by:
 preventin classAbstractLeakPreventer
 
 -