-
- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addListener(ClassListener listener)
Add a listener to the manager.Container
getCache()
URL[]
getClasspath()
Set<ClassListener>
getListeners()
void
refreshSearchPath()
boolean
removeListener(ClassListener listener)
void
scanForClassFiles()
-
-
-
Method Detail
-
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()
-
-