Class CertificateStoreWatcher

java.lang.Object
org.jivesoftware.openfire.keystore.CertificateStoreWatcher

public class CertificateStoreWatcher extends Object
Detects file-system based changes to (Java) keystores that back Openfire Certificate Stores, reloading them when needed.
Author:
Guus der Kinderen, guus.der.kinderen@gmail.com
  • Field Details

  • Constructor Details

    • CertificateStoreWatcher

      public CertificateStoreWatcher()
  • Method Details

    • destroy

      public void destroy()
      Shuts down this watcher, releasing all resources.
    • watch

      public void watch(CertificateStore store)
      Start watching the file that backs a Certificate Store for changes, reloading the Certificate Store when appropriate. This method does nothing when the file watching functionality is not supported by the file system.
      Parameters:
      store - The certificate store (cannot be null).
    • unwatch

      public void unwatch(CertificateStore store)
      Stop watching the file that backs a Certificate Store for changes
      Parameters:
      store - The certificate store (cannot be null).