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 public class SecurityProviderLeakPreventer extends AbstractLeakPreventer
Deprecated.sun.security.pkcs11.SunPKCS11 class explicitly sets thread classloader to nullSecurityProviderLeakPreventer 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 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SecurityProviderLeakPreventer()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)
 
 - 
 
 -