Class DOMLeakPreventer
- java.lang.Object
 - 
- org.eclipse.jetty.util.component.AbstractLifeCycle
 - 
- org.eclipse.jetty.util.preventers.AbstractLeakPreventer
 - 
- org.eclipse.jetty.util.preventers.DOMLeakPreventer
 
 
 
 
- 
- All Implemented Interfaces:
 LifeCycle
@Deprecated public class DOMLeakPreventer extends AbstractLeakPreventer
Deprecated.reported as fixed in jdk 7, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6916498DOMLeakPreventer See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6916498 Prevent the RuntimeException that is a static member of AbstractDOMParser from pinning a webapp classloader by causing it to be set here by a non-webapp classloader. Note that according to the bug report, a heap dump may not identify the GCRoot, making it difficult to identify the cause of the leak. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener 
- 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DOMLeakPreventer()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidprevent(java.lang.ClassLoader loader)Deprecated.- 
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
prevent
public void prevent(java.lang.ClassLoader loader)
Deprecated.- Specified by:
 preventin classAbstractLeakPreventer- See Also:
 AbstractLeakPreventer.prevent(java.lang.ClassLoader)
 
 - 
 
 -