Class AWTLeakPreventer
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.preventers.AbstractLeakPreventer
-
- org.eclipse.jetty.util.preventers.AWTLeakPreventer
-
- All Implemented Interfaces:
LifeCycle
public class AWTLeakPreventer extends AbstractLeakPreventer
AWTLeakPreventer See https://issues.jboss.org/browse/AS7-3733 The java.awt.Toolkit class has a static field that is the default toolkit. Creating the default toolkit causes the creation of an EventQueue, which has a classloader field initialized by the thread context class loader.
-
-
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
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.util.preventers.AbstractLeakPreventer
LOG
-
-
Constructor Summary
Constructors Constructor Description AWTLeakPreventer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prevent(java.lang.ClassLoader loader)
-
Methods inherited from class org.eclipse.jetty.util.preventers.AbstractLeakPreventer
doStart
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
-
-
-
-
Method Detail
-
prevent
public void prevent(java.lang.ClassLoader loader)
- Specified by:
prevent
in classAbstractLeakPreventer
- See Also:
AbstractLeakPreventer.prevent(java.lang.ClassLoader)
-
-