public class KnowledgeBaseFactoryServiceImpl extends Object implements KnowledgeBaseFactoryService
| Constructor and Description |
|---|
KnowledgeBaseFactoryServiceImpl() |
| 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
|
public KnowledgeBaseConfiguration newKnowledgeBaseConfiguration()
KnowledgeBaseFactoryServicenewKnowledgeBaseConfiguration in interface KnowledgeBaseFactoryServicepublic KnowledgeBaseConfiguration newKnowledgeBaseConfiguration(Properties properties, ClassLoader... classLoader)
KnowledgeBaseFactoryServicenewKnowledgeBaseConfiguration in interface KnowledgeBaseFactoryServiceproperties - Properties file to process, can be null;classLoader - Provided ClassLoader, can be null and then ClassLoader defaults to Thread.currentThread().getContextClassLoader()public KnowledgeSessionConfiguration newKnowledgeSessionConfiguration()
KnowledgeBaseFactoryServicenewKnowledgeSessionConfiguration in interface KnowledgeBaseFactoryServicepublic KnowledgeSessionConfiguration newKnowledgeSessionConfiguration(Properties properties)
KnowledgeBaseFactoryServicenewKnowledgeSessionConfiguration in interface KnowledgeBaseFactoryServiceproperties - Properties file to process, can be null;public KnowledgeBase newKnowledgeBase()
KnowledgeBaseFactoryServicenewKnowledgeBase in interface KnowledgeBaseFactoryServicepublic KnowledgeBase newKnowledgeBase(String kbaseId)
KnowledgeBaseFactoryServicenewKnowledgeBase in interface KnowledgeBaseFactoryServicekbaseId - 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.public KnowledgeBase newKnowledgeBase(KnowledgeBaseConfiguration conf)
KnowledgeBaseFactoryServicenewKnowledgeBase in interface KnowledgeBaseFactoryServiceconf - The KnowledgeBaseConfiguration to be usedpublic KnowledgeBase newKnowledgeBase(String kbaseId, KnowledgeBaseConfiguration conf)
KnowledgeBaseFactoryServicenewKnowledgeBase in interface KnowledgeBaseFactoryServicekbaseId - 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 usedpublic Environment newEnvironment()
KnowledgeBaseFactoryServicenewEnvironment in interface KnowledgeBaseFactoryServiceCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.