Package | Description |
---|---|
org.kie.api |
The KnowledgeBase and its factory.
|
org.kie.api.marshalling |
Marshalling classes are used to marshall and unmarshal StatefulKnowledgeSessions
See MarshallerFactory for more detailed information.
|
org.kie.api.persistence.jpa | |
org.kie.api.runtime |
The runtime engine classes, including StatefulKnowledgeSession and StatelessKnowledgeSession.
|
org.kie.api.runtime.manager |
Modifier and Type | Method and Description |
---|---|
KieSession |
KieBase.newKieSession()
Creates a new
KieSession using the default session configuration. |
KieSession |
KieBase.newKieSession(KieSessionConfiguration conf,
Environment environment)
Creates a new
KieSession using the given session configuration and/or environment. |
Modifier and Type | Method and Description |
---|---|
Collection<? extends KieSession> |
KieBase.getKieSessions()
Returns a collection of the
KieSession s that exist in this KieBase . |
Modifier and Type | Method and Description |
---|---|
KieSession |
Marshaller.unmarshall(InputStream stream)
Creates StatefulKnowledgeSession using default KnowledgeSessionConfiguration and
Environment.
|
KieSession |
Marshaller.unmarshall(InputStream stream,
KieSessionConfiguration config,
Environment environment)
Creates StatefulKnowledgeSession using the given KnowledgeSessionConfiguration and
Environment.
|
Modifier and Type | Method and Description |
---|---|
void |
Marshaller.marshall(OutputStream stream,
KieSession ksession)
Marshalls the given StatefulKnowledgeSession into the provided OutputStream
|
void |
Marshaller.unmarshall(InputStream stream,
KieSession ksession)
Unmarshall the stream into the StatefulKnowledgeSession.
|
Modifier and Type | Method and Description |
---|---|
KieSession |
KieStoreServices.loadKieSession(int id,
KieBase kbase,
KieSessionConfiguration configuration,
Environment environment)
Deprecated.
|
KieSession |
KieStoreServices.loadKieSession(Long id,
KieBase kbase,
KieSessionConfiguration configuration,
Environment environment) |
KieSession |
KieStoreServices.newKieSession(KieBase kbase,
KieSessionConfiguration configuration,
Environment environment) |
Modifier and Type | Method and Description |
---|---|
KieSession |
KieContainer.newKieSession()
Creates the default KieSession for this KieContainer
|
KieSession |
KieContainer.newKieSession(Environment environment)
Creates the default KieSession for this KieContainer using the given Environment
|
KieSession |
KieContainer.newKieSession(Environment environment,
KieSessionConfiguration conf)
Creates the default KieSession for this KieContainer with the given configuration and Environment
|
KieSession |
KieContainer.newKieSession(KieSessionConfiguration conf)
Creates the default KieSession for this KieContainer with the given configuration
|
KieSession |
KieContainer.newKieSession(String kSessionName)
Creates the KieSession with the given name for this KieContainer
|
KieSession |
KieContainer.newKieSession(String kSessionName,
Environment environment)
Creates the KieSession with the given name for this KieContainer using the given Environment
|
KieSession |
KieContainer.newKieSession(String kSessionName,
Environment environment,
KieSessionConfiguration conf)
Creates the KieSession with the given name for this KieContainer using the given Environment and configuration
|
KieSession |
KieContainer.newKieSession(String kSessionName,
KieSessionConfiguration conf)
Creates the KieSession with the given name for this KieContainer with the given configuration
|
Modifier and Type | Method and Description |
---|---|
KieSession |
RuntimeEngine.getKieSession()
Returns
KieSession configured for this RuntimeEngine |
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.