|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.pc.plugin.FileSystemPluginFinder
public class FileSystemPluginFinder
Finds all JAR files located in a set of plugin directories. This does not load in any plugin jars nor does it parse any plugin descriptors. This merely looks for jar files in its plugin directories and reports where it finds them.
| Constructor Summary | |
|---|---|
FileSystemPluginFinder(Collection<File> pluginDirs)
Creates a new FileSystemPluginFinder object. |
|
FileSystemPluginFinder(File pluginDir)
Creates a new FileSystemPluginFinder object. |
|
| Method Summary | |
|---|---|
Collection<URL> |
findPlugins()
Searches all the plugin directories (as defined by the argument passed to this object's constructor) and will load in all plugins it finds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileSystemPluginFinder(File pluginDir)
FileSystemPluginFinder object.
pluginDir - an initial directory where this object will look for pluginspublic FileSystemPluginFinder(Collection<File> pluginDirs)
FileSystemPluginFinder object.
pluginDirs - an initial set of directories where this object will look for plugins| Method Detail |
|---|
public Collection<URL> findPlugins()
findPlugins in interface PluginFinder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||