Module org.eclipse.jetty.util
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
public class LoginConfigurationLeakPreventer extends AbstractLeakPreventer
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, AbstractLifeCycle.StopException
-
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 LoginConfigurationLeakPreventer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprevent(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
addEventListener, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString
-
-
-
-
Method Detail
-
prevent
public void prevent(java.lang.ClassLoader loader)
- Specified by:
preventin classAbstractLeakPreventer
-
-