Package org.eclipse.jetty.util.ssl
Class KeyStoreScanner
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.util.ssl.KeyStoreScanner
- All Implemented Interfaces:
Container,Destroyable,Dumpable,Dumpable.DumpableContainer,LifeCycle,Scanner.DiscreteListener,Scanner.Listener
@Deprecated(since="2021-05-27")
public class KeyStoreScanner
extends ContainerLifeCycle
implements Scanner.DiscreteListener
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
The KeyStoreScanner is used to monitor the KeyStore file used by the SslContextFactory.
It will reload the SslContextFactory if it detects that the KeyStore file has been modified.
If the TrustStore file needs to be changed, then this should be done before touching the KeyStore file,
the SslContextFactory.reload(Consumer) will only occur after the KeyStore file has been modified.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidfileChanged(String filename) Deprecated.voidfileRemoved(String filename) Deprecated.intDeprecated.voidreload()Deprecated.voidscan()Deprecated.voidsetScanInterval(int scanInterval) Deprecated.Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, unmanage, updateBean, updateBean, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
KeyStoreScanner
Deprecated.
-
-
Method Details
-
fileAdded
Deprecated.- Specified by:
fileAddedin interfaceScanner.DiscreteListener
-
fileChanged
Deprecated.- Specified by:
fileChangedin interfaceScanner.DiscreteListener
-
fileRemoved
Deprecated.- Specified by:
fileRemovedin interfaceScanner.DiscreteListener
-
scan
Deprecated. -
reload
Deprecated. -
getScanInterval
@ManagedAttribute("scanning interval to detect changes which need reloaded") public int getScanInterval()Deprecated. -
setScanInterval
public void setScanInterval(int scanInterval) Deprecated.
-