JPF 1.5.1

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
 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 from boot.properties file and System 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

JPF 1.5.1

Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.