Class SecurityProviderLeakPreventer
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.preventers.AbstractLeakPreventer
org.eclipse.jetty.util.preventers.SecurityProviderLeakPreventer
- All Implemented Interfaces:
LifeCycle
Deprecated.
sun.security.pkcs11.SunPKCS11 class explicitly sets thread classloader to null
SecurityProviderLeakPreventer
Some security providers, such as sun.security.pkcs11.SunPKCS11 start a deamon thread,
which will use the thread context classloader. Load them here to ensure the classloader
is not a webapp classloader.
Inspired by Tomcat JreMemoryLeakPrevention
-
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 -
Method Summary
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
-
Constructor Details
-
SecurityProviderLeakPreventer
public SecurityProviderLeakPreventer()Deprecated.
-
-
Method Details
-
prevent
Deprecated.- Specified by:
prevent
in classAbstractLeakPreventer
- See Also:
-