com.sun.syndication.io.impl

Class PluginManager

public abstract class PluginManager extends Object

Author: Alejandro Abdelnur

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 StringgetKey(Object obj)
protected ListgetKeys()
protected ObjectgetPlugin(String key)
protected MapgetPluginMap()
protected ListgetPlugins()
voidloadPlugins()

Field Detail

_keys

private List _keys

_parentGenerator

private WireFeedGenerator _parentGenerator

_parentParser

private WireFeedParser _parentParser

_pluginsList

private List _pluginsList

_pluginsMap

private Map _pluginsMap

_propertyValues

private String[] _propertyValues

Constructor Detail

PluginManager

protected PluginManager(String propertyKey)
Creates a PluginManager

Parameters: propertyKey property key defining the plugins classes

PluginManager

protected PluginManager(String propertyKey, WireFeedParser parentParser, WireFeedGenerator parentGenerator)

Method Detail

getClasses

private Class[] getClasses()
Loads and returns the classes defined in the properties files.

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.

getKey

protected abstract String getKey(Object obj)

getKeys

protected List getKeys()

getPlugin

protected Object getPlugin(String key)

getPluginMap

protected Map getPluginMap()

getPlugins

protected List getPlugins()

loadPlugins

private void loadPlugins()
Copyright © Sun Microsystems. All Rights Reserved.