|
|||||||||
| 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 SemanticModules. |
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
SemanticsRepositorySemanticModule by URI.
lookupSemanticModule in interface SemanticsRepositoryuri - The URI.
SemanticModule.
NoSuchSemanticModuleException - If no module is bound to the URI.SemanticsRepositorypublic SemanticModule[] getSemanticModules()
SemanticsRepositorySemanticModules.
getSemanticModules in interface SemanticsRepositorySemanticsRepositorypublic java.lang.ClassLoader getSemanticModuleClassLoader()
getSemanticModuleClassLoader in interface SemanticsRepository
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||