|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.larkc.core.pluginregistry.PluginRegistry
public class PluginRegistry
The LarKC platform plug-in registry. This class stores all the plug-in meta data and is able to execute queries agaisnt the plug-ins KB
| Constructor Summary | |
|---|---|
PluginRegistry()
Initializes the registry and populates its KB (ex Cyc KB). |
|
| Method Summary | |
|---|---|
java.util.Collection<org.openrdf.model.URI> |
getAllDeciders()
Returns the URIs of all the Decider plug-ins available to the platform |
java.util.Collection<org.openrdf.model.URI> |
getAllIdentifiers()
Returns the URIs of all the Identifier plug-ins available to the platform |
java.util.Collection<org.openrdf.model.URI> |
getAllPlugins()
Returns the URIs of all the plug-ins available to the platform |
java.util.Collection<org.openrdf.model.URI> |
getAllReasoners()
Returns the URIs of all the Reasoner plug-ins available to the platform |
java.util.Collection<org.openrdf.model.URI> |
getAllSelecters()
Returns the URIs of all the Selecter plug-ins available to the platform |
java.util.Collection<org.openrdf.model.URI> |
getAllTransformers()
Returns the URIs of all the Transformer plug-ins available to the platform |
Plugin |
getNewPluginInstance(org.openrdf.model.URI pluginUri)
Instantiates the plug-in |
java.lang.String |
getPluginEndpoint(org.openrdf.model.URI _Plugin)
Returns the Endpoint (how to access it) of the given plug-ins |
java.util.Collection<org.openrdf.model.URI> |
getPluginSparql(java.lang.String sparqlQuery)
Returns a collection of all the plug-ins that correspond to the specified input SPARQL query |
void |
loadPlugins()
Load plug-ins from the ini file and from PLATFORM/plugins. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginRegistry()
| Method Detail |
|---|
public Plugin getNewPluginInstance(org.openrdf.model.URI pluginUri)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException
pluginUri -
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentExceptionpublic void loadPlugins()
public java.util.Collection<org.openrdf.model.URI> getAllPlugins()
throws PluginRegistryQueryException
PluginRegistryQueryException
public java.util.Collection<org.openrdf.model.URI> getAllDeciders()
throws PluginRegistryQueryException
PluginRegistryQueryException
public java.util.Collection<org.openrdf.model.URI> getAllIdentifiers()
throws PluginRegistryQueryException
PluginRegistryQueryException
public java.util.Collection<org.openrdf.model.URI> getAllTransformers()
throws PluginRegistryQueryException
PluginRegistryQueryException
public java.util.Collection<org.openrdf.model.URI> getAllSelecters()
throws PluginRegistryQueryException
PluginRegistryQueryException
public java.util.Collection<org.openrdf.model.URI> getAllReasoners()
throws PluginRegistryQueryException
PluginRegistryQueryException
public java.lang.String getPluginEndpoint(org.openrdf.model.URI _Plugin)
throws PluginRegistryQueryException
_Plugin - URI of the plug-in
PluginRegistryQueryException
public java.util.Collection<org.openrdf.model.URI> getPluginSparql(java.lang.String sparqlQuery)
throws MalformedSparqlQueryException,
SparqlQueryTransformException,
PluginRegistryQueryException
sparqlQuery -
MalformedSparqlQueryException
SparqlQueryTransformException
PluginRegistryQueryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||