JPF 0.10

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: PluginsCollector.java,v 1.2 2005/12/05 19:09:11 ddimon Exp $

Method Summary
 java.util.Collection 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

public 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

public java.util.Collection collectPluginLocations()
Returns:
collection of all discovered plug-in locations

JPF 0.10

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