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()
KnowledgeBaseFactoryService
newKnowledgeBaseConfiguration
in interface KnowledgeBaseFactoryService
public KnowledgeBaseConfiguration newKnowledgeBaseConfiguration(Properties properties, ClassLoader... classLoader)
KnowledgeBaseFactoryService
newKnowledgeBaseConfiguration
in interface KnowledgeBaseFactoryService
properties
- Properties file to process, can be null;classLoader
- Provided ClassLoader, can be null and then ClassLoader defaults to Thread.currentThread().getContextClassLoader()public KnowledgeSessionConfiguration newKnowledgeSessionConfiguration()
KnowledgeBaseFactoryService
newKnowledgeSessionConfiguration
in interface KnowledgeBaseFactoryService
public KnowledgeSessionConfiguration newKnowledgeSessionConfiguration(Properties properties)
KnowledgeBaseFactoryService
newKnowledgeSessionConfiguration
in interface KnowledgeBaseFactoryService
properties
- Properties file to process, can be null;public KnowledgeBase newKnowledgeBase()
KnowledgeBaseFactoryService
newKnowledgeBase
in interface KnowledgeBaseFactoryService
public KnowledgeBase newKnowledgeBase(String kbaseId)
KnowledgeBaseFactoryService
newKnowledgeBase
in interface KnowledgeBaseFactoryService
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.public KnowledgeBase newKnowledgeBase(KnowledgeBaseConfiguration conf)
KnowledgeBaseFactoryService
newKnowledgeBase
in interface KnowledgeBaseFactoryService
conf
- The KnowledgeBaseConfiguration to be usedpublic KnowledgeBase newKnowledgeBase(String kbaseId, KnowledgeBaseConfiguration conf)
KnowledgeBaseFactoryService
newKnowledgeBase
in interface KnowledgeBaseFactoryService
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 usedpublic Environment newEnvironment()
KnowledgeBaseFactoryService
newEnvironment
in interface KnowledgeBaseFactoryService
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.