com.sun.syndication.io.impl
public abstract class PluginManager extends Object
| Field Summary | |
|---|---|
| List | _keys |
| WireFeedGenerator | _parentGenerator |
| WireFeedParser | _parentParser |
| List | _pluginsList |
| Map | _pluginsMap |
| String[] | _propertyValues |
| Constructor Summary | |
|---|---|
| protected | PluginManager(String propertyKey)
Creates a PluginManager
|
| protected | PluginManager(String propertyKey, WireFeedParser parentParser, WireFeedGenerator parentGenerator) |
| Method Summary | |
|---|---|
| Class[] | getClasses()
Loads and returns the classes defined in the properties files.
|
| protected abstract String | getKey(Object obj) |
| protected List | getKeys() |
| protected Object | getPlugin(String key) |
| protected Map | getPluginMap() |
| protected List | getPlugins() |
| void | loadPlugins() |
Parameters: propertyKey property key defining the plugins classes
Returns: array containing the classes defined in the properties files.
Throws: java.lang.ClassNotFoundException thrown if one of the classes defined in the properties file cannot be loaded and hard failure is ON.