Interface PluginManager

All Known Implementing Classes:
PluginManagerImpl

public interface PluginManager
Used so that the DTFJPluginClassloader will not be referenced directly in code, but only loaded through reflection, using a dedicated classloader (in DTFJContext)
  • Method Details

    • refreshSearchPath

      void refreshSearchPath()
    • scanForClassFiles

      void scanForClassFiles() throws CommandException
      Throws:
      CommandException
    • getCache

      Container getCache()
    • addListener

      boolean addListener(ClassListener listener)
      Add a listener to the manager. If the listener already exists as determined by a call to equals() then the existing instance is replace by the new one. This allows clients to install a single type of handler but update the configuration or it's methods of operation without retaining a handle to original listener.
      Parameters:
      listener - listener to add
      Returns:
      result from the standard Set.add() method
    • removeListener

      boolean removeListener(ClassListener listener)
    • getListeners

      Set<ClassListener> getListeners()
    • getClasspath

      URL[] getClasspath()