public interface KnowledgeBaseFactoryService extends Service
Modifier and Type | Method and Description |
---|---|
Environment |
newEnvironment()
Instantiate and return an Environment
|
KnowledgeBase |
newKnowledgeBase()
Instantiate and return a KnowledgeBase using a default KnowledgeBaseConfiguration
|
KnowledgeBase |
newKnowledgeBase(KnowledgeBaseConfiguration conf)
Instantiate and return a KnowledgeBase using the given KnowledgeBaseConfiguration
|
KnowledgeBase |
newKnowledgeBase(String kbaseId)
Instantiate and return a KnowledgeBase using a default KnowledgeBaseConfiguration
and the given KnowledgeBase ID.
|
KnowledgeBase |
newKnowledgeBase(String kbaseId,
KnowledgeBaseConfiguration conf)
Instantiate and return a KnowledgeBase using the given KnowledgeBaseConfiguration and
the given KnowledgeBase ID.
|
KnowledgeBaseConfiguration |
newKnowledgeBaseConfiguration()
Instantiate and return a new KnowledgeBaseConfiguration
|
KnowledgeBaseConfiguration |
newKnowledgeBaseConfiguration(Properties properties,
ClassLoader... classLoader)
Instantiate and return a new KnowledgeBaseConfiguration
|
KnowledgeSessionConfiguration |
newKnowledgeSessionConfiguration()
Instantiate and return a new KnowledgeSessionConfiguration
|
KnowledgeSessionConfiguration |
newKnowledgeSessionConfiguration(Properties properties)
Instantiate and return a new KnowledgeSessionConfiguration
|
KnowledgeBaseConfiguration newKnowledgeBaseConfiguration()
KnowledgeBaseConfiguration newKnowledgeBaseConfiguration(Properties properties, ClassLoader... classLoader)
properties
- Properties file to process, can be null;classLoader
- Provided ClassLoader, can be null and then ClassLoader defaults to Thread.currentThread().getContextClassLoader()KnowledgeSessionConfiguration newKnowledgeSessionConfiguration()
KnowledgeSessionConfiguration newKnowledgeSessionConfiguration(Properties properties)
properties
- Properties file to process, can be null;classLoader
- Provided ClassLoader, can be null and then ClassLoader defaults to Thread.currentThread().getContextClassLoader()KnowledgeBase newKnowledgeBase()
KnowledgeBase newKnowledgeBase(String kbaseId)
kbaseId
- A string Identifier for the knowledge base. Specially useful when enabling
JMX monitoring and management, as that ID will be used to compose the
JMX ObjectName for all related MBeans. The application must ensure all kbase
IDs are unique.KnowledgeBase newKnowledgeBase(KnowledgeBaseConfiguration conf)
conf
- The KnowledgeBaseConfiguration to be usedKnowledgeBase newKnowledgeBase(String kbaseId, KnowledgeBaseConfiguration conf)
kbaseId
- A string Identifier for the knowledge base. Specially useful when enabling
JMX monitoring and management, as that ID will be used to compose the
JMX ObjectName for all related MBeans. The application must ensure all kbase
IDs are unique.conf
- The KnowledgeBaseConfiguration to be usedEnvironment newEnvironment()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.