Class FilterFileManager

java.lang.Object
com.netflix.zuul.FilterFileManager

@Singleton public class FilterFileManager extends Object
This class manages the directory polling for changes and new Groovy filters. Polling interval and directories are specified in the initialization of the class, and a poller will check for changes and additions.
  • Constructor Details

  • Method Details

    • init

      @Inject public void init() throws Exception
      Initialized the GroovyFileManager.
      Throws:
      Exception
    • shutdown

      public void shutdown()
      Shuts down the poller
    • getDirectory

      public File getDirectory(String sPath)
      Returns the directory File for a path. A Runtime Exception is thrown if the directory is in valid
      Parameters:
      sPath -
      Returns:
      a File representing the directory path