Package | Description |
---|---|
org.drools |
The KnowledgeBase and its factory.
|
org.drools.impl | |
org.drools.impl.adapters | |
org.drools.marshalling |
Marshalling classes are used to marshall and unmarshal StatefulKnowledgeSessions
See MarshallerFactory for more detailed information.
|
org.drools.persistence.jpa |
Modifier and Type | Method and Description |
---|---|
StatefulKnowledgeSession |
KBaseUnit.newStatefulKnowledegSession(String ksessionName)
Instance a new StatefulKnowledgeSession identified by the gievn name from the KnowledgeBase wrapped by this KBaseUnit
|
StatefulKnowledgeSession |
KnowledgeBase.newStatefulKnowledgeSession()
Create a new StatefulKnowledgeSession using the default session configuration.
|
StatefulKnowledgeSession |
KnowledgeBase.newStatefulKnowledgeSession(KnowledgeSessionConfiguration conf,
Environment environment)
Create a new StatefulKnowledgeSession using the given session configuration and/or environment.
|
Modifier and Type | Method and Description |
---|---|
Collection<StatefulKnowledgeSession> |
KnowledgeBase.getStatefulKnowledgeSessions()
Return a collection of the StatefulKnowledgeSessions that exist in this KnowledgeBase.
|
Modifier and Type | Method and Description |
---|---|
StatefulKnowledgeSession |
KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(int id,
KnowledgeBase kbase,
KnowledgeSessionConfiguration configuration,
Environment environment)
Deprecated.
|
StatefulKnowledgeSession |
KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(Long id,
KnowledgeBase kbase,
KnowledgeSessionConfiguration configuration,
Environment environment) |
StatefulKnowledgeSession |
KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeBase kbase,
KnowledgeSessionConfiguration configuration,
Environment environment) |
Modifier and Type | Class and Description |
---|---|
class |
StatefulKnowledgeSessionAdapter |
Modifier and Type | Method and Description |
---|---|
StatefulKnowledgeSession |
KnowledgeBaseAdapter.newStatefulKnowledgeSession() |
StatefulKnowledgeSession |
KnowledgeBaseAdapter.newStatefulKnowledgeSession(KnowledgeSessionConfiguration conf,
Environment environment) |
Modifier and Type | Method and Description |
---|---|
static List<StatefulKnowledgeSession> |
StatefulKnowledgeSessionAdapter.adaptStatefulKnowledgeSession(Collection<org.kie.internal.runtime.StatefulKnowledgeSession> sessions) |
Collection<StatefulKnowledgeSession> |
KnowledgeBaseAdapter.getStatefulKnowledgeSessions() |
Modifier and Type | Method and Description |
---|---|
StatefulKnowledgeSession |
Marshaller.unmarshall(InputStream stream)
Creates StatefulKnowledgeSession using default KnowledgeSessionConfiguration and
Environment.
|
StatefulKnowledgeSession |
Marshaller.unmarshall(InputStream stream,
KnowledgeSessionConfiguration config,
Environment environment)
Creates StatefulKnowledgeSession using the given KnowledgeSessionConfiguration and
Environment.
|
Modifier and Type | Method and Description |
---|---|
void |
Marshaller.marshall(OutputStream stream,
StatefulKnowledgeSession ksession)
Marshalls the given StatefulKnowledgeSession into the provided OutputStream
|
void |
Marshaller.unmarshall(InputStream stream,
StatefulKnowledgeSession ksession)
Unmarshall the stream into the StatefulKnowledgeSession.
|
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.