public abstract class PluginBase extends java.lang.Object implements PluginSet, PlatformCommunicatorInterface
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<GraphicalInterface> |
graphicPlugins |
protected java.util.List<IndexerInterface> |
indexPlugins |
protected java.util.List<JettyPluginInterface> |
jettyPlugins |
protected DicooglePlatformInterface |
platform |
protected java.util.List<QueryInterface> |
queryPlugins |
protected java.util.List<ServerResource> |
services |
protected ConfigurationHolder |
settings |
protected java.util.List<StorageInterface> |
storagePlugins |
| Constructor and Description |
|---|
PluginBase() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<GraphicalInterface> |
getGraphicalPlugins()
Gets the graphical plugins enclosed in this plugin set.
|
java.util.List<IndexerInterface> |
getIndexPlugins()
Gets the indexer plugins enclosed in this plugin set.
|
java.util.List<JettyPluginInterface> |
getJettyPlugins()
Obtains a collection of Jetty plugins, so as to implement web services via Dicoogle.
|
abstract java.lang.String |
getName()
Gets the plugin's name.
|
java.util.List<QueryInterface> |
getQueryPlugins()
Gets the query plugins enclosed in this plugin set.
|
java.util.List<ServerResource> |
getRestPlugins()
Obtains a collection of access to the RESTful resources.
|
ConfigurationHolder |
getSettings()
Retrieves the plugin's settings.
|
java.util.Collection<StorageInterface> |
getStoragePlugins()
Gets the storage plugins enclosed in this plugin set.
|
void |
setPlatformProxy(DicooglePlatformInterface core) |
void |
setSettings(ConfigurationHolder xmlSettings)
Defines the plugin's settings.
|
void |
shutdown()
Signals a plugin to stop.
|
protected java.util.List<IndexerInterface> indexPlugins
protected java.util.List<GraphicalInterface> graphicPlugins
protected java.util.List<QueryInterface> queryPlugins
protected java.util.List<JettyPluginInterface> jettyPlugins
protected java.util.List<StorageInterface> storagePlugins
protected java.util.List<ServerResource> services
protected ConfigurationHolder settings
protected DicooglePlatformInterface platform
public PluginBase()
public java.util.List<IndexerInterface> getIndexPlugins()
PluginSetgetIndexPlugins in interface PluginSetIndexerInterfacepublic java.util.List<GraphicalInterface> getGraphicalPlugins()
PluginSetgetGraphicalPlugins in interface PluginSetpublic java.util.List<QueryInterface> getQueryPlugins()
PluginSetgetQueryPlugins in interface PluginSetQueryInterfacepublic java.util.List<ServerResource> getRestPlugins()
PluginSettoString() method.
This collection must be immutable.getRestPlugins in interface PluginSettoString()
to provide the resource namepublic java.util.List<JettyPluginInterface> getJettyPlugins()
PluginSetgetJettyPlugins in interface PluginSetJettyPluginInterfacepublic abstract java.lang.String getName()
PluginSetpublic ConfigurationHolder getSettings()
PluginSetgetSettings in interface PluginSetpublic void setSettings(ConfigurationHolder xmlSettings)
PluginSetsetSettings in interface PluginSetxmlSettings - an XML-based configuration holderpublic void shutdown()
PluginSetpublic java.util.Collection<StorageInterface> getStoragePlugins()
PluginSetgetStoragePlugins in interface PluginSetpublic void setPlatformProxy(DicooglePlatformInterface core)
setPlatformProxy in interface PlatformCommunicatorInterface