Package org.java.plugin.boot
Interface PluginsCollector
-
- All Known Implementing Classes:
DefaultPluginsCollector
public interface PluginsCollector
Interface to encapsulate logic for gathering information about available plug-ins locations.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<PluginManager.PluginLocation>
collectPluginLocations()
void
configure(ExtendedProperties configuration)
Configures this collector instance, this method will be called once before any other method call in this class.
-
-
-
Method Detail
-
configure
void configure(ExtendedProperties configuration) throws java.lang.Exception
Configures this collector instance, this method will be called once before any other method call in this class. There is no pre-defined configuration parameters, see concrete implementations for supported parameters.- Parameters:
configuration
- application configuration data fromboot.properties
file andSystem
properties as defaults- Throws:
java.lang.Exception
- if any error has occurred during collector configuring
-
collectPluginLocations
java.util.Collection<PluginManager.PluginLocation> collectPluginLocations()
- Returns:
- collection of all discovered
plug-in locations
-
-