|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.nutch.plugin.PluginRepository
The plugin repositority is a registry of all plugins. At system boot up a repositority is builded by parsing the mainifest files of all plugins. Plugins that require not existing other plugins are not registed. For each plugin a plugin descriptor instance will be created. The descriptor represent all meta information about a plugin. So a plugin instance will be created later when it is required, this allow lazy plugin loading.
Field Summary | |
static Logger |
LOG
|
Method Summary | |
void |
finalize()
|
ExtensionPoint |
getExtensionPoint(String pXpId)
Returns a extension point indentified by a extension point id. |
static PluginRepository |
getInstance()
Returns the singelton instance of the PluginRepository |
PluginDescriptor |
getPluginDescriptor(String pPluginId)
Returns the descriptor of one plugin identified by a plugin id. |
PluginDescriptor[] |
getPluginDescriptors()
Returns all registed plugin descriptors. |
Plugin |
getPluginInstance(PluginDescriptor pDescriptor)
Returns a instance of a plugin. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Logger LOG
Method Detail |
public static PluginRepository getInstance()
PluginRepository
public PluginDescriptor[] getPluginDescriptors()
public PluginDescriptor getPluginDescriptor(String pPluginId)
pPluginId
-
public ExtensionPoint getExtensionPoint(String pXpId)
public Plugin getPluginInstance(PluginDescriptor pDescriptor) throws PluginRuntimeException
pDescriptor
-
PluginRuntimeException
public void finalize() throws Throwable
Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |