|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.smf.SimpleSemanticsRepository
public class SimpleSemanticsRepository
Simple in-memory repository of semantic modules.
Constructor Summary | |
---|---|
SimpleSemanticsRepository()
Construct an empty repository. |
Method Summary | |
---|---|
java.lang.ClassLoader |
getSemanticModuleClassLoader()
|
SemanticModule[] |
getSemanticModules()
Retieve all SemanticModule s. |
SemanticModule |
lookupSemanticModule(java.lang.String uri)
Lookup a SemanticModule by URI. |
void |
registerSemanticModule(SemanticModule module)
Register a SemanticModule with a URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSemanticsRepository()
Method Detail |
---|
public void registerSemanticModule(SemanticModule module)
SemanticModule
with a URI.
module
- The SemanticModule
.public SemanticModule lookupSemanticModule(java.lang.String uri) throws NoSuchSemanticModuleException
SemanticsRepository
SemanticModule
by URI.
lookupSemanticModule
in interface SemanticsRepository
uri
- The URI.
SemanticModule
.
NoSuchSemanticModuleException
- If no module is bound to the URI.SemanticsRepository
public SemanticModule[] getSemanticModules()
SemanticsRepository
SemanticModule
s.
getSemanticModules
in interface SemanticsRepository
SemanticsRepository
public java.lang.ClassLoader getSemanticModuleClassLoader()
getSemanticModuleClassLoader
in interface SemanticsRepository
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |