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.
classloader does not seem to be held any more
LoginConfigurationLeakPreventer
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
-
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
-
LoginConfigurationLeakPreventer
public LoginConfigurationLeakPreventer()Deprecated.
-
-
Method Details
-
prevent
Deprecated.- Specified by:
prevent
in classAbstractLeakPreventer
- See Also:
-