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()
PluginSet
getIndexPlugins
in interface PluginSet
IndexerInterface
public java.util.List<GraphicalInterface> getGraphicalPlugins()
PluginSet
getGraphicalPlugins
in interface PluginSet
public java.util.List<QueryInterface> getQueryPlugins()
PluginSet
getQueryPlugins
in interface PluginSet
QueryInterface
public java.util.List<ServerResource> getRestPlugins()
PluginSet
toString()
method.
This collection must be immutable.getRestPlugins
in interface PluginSet
toString()
to provide the resource namepublic java.util.List<JettyPluginInterface> getJettyPlugins()
PluginSet
getJettyPlugins
in interface PluginSet
JettyPluginInterface
public abstract java.lang.String getName()
PluginSet
public ConfigurationHolder getSettings()
PluginSet
getSettings
in interface PluginSet
public void setSettings(ConfigurationHolder xmlSettings)
PluginSet
setSettings
in interface PluginSet
xmlSettings
- an XML-based configuration holderpublic void shutdown()
PluginSet
public java.util.Collection<StorageInterface> getStoragePlugins()
PluginSet
getStoragePlugins
in interface PluginSet
public void setPlatformProxy(DicooglePlatformInterface core)
setPlatformProxy
in interface PlatformCommunicatorInterface