Class LoginConfigurationLeakPreventer
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.preventers.AbstractLeakPreventer
-
- org.eclipse.jetty.util.preventers.LoginConfigurationLeakPreventer
-
- All Implemented Interfaces:
LifeCycle
@Deprecated public class LoginConfigurationLeakPreventer extends AbstractLeakPreventer
Deprecated.classloader does not seem to be held any moreLoginConfigurationLeakPreventer The javax.security.auth.login.Configuration class keeps a static reference to the thread context classloader. We prevent a webapp context classloader being used for that by invoking the classloading here. 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 LoginConfigurationLeakPreventer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
prevent(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:
prevent
in classAbstractLeakPreventer
- See Also:
AbstractLeakPreventer.prevent(java.lang.ClassLoader)
-
-