Uses of Interface
org.kie.api.runtime.KieSession
-
Packages that use KieSession Package Description org.kie.api Base KIE API classes.org.kie.api.marshalling Marshalling classes are used to marshall and unmarshal StatefulKieSessionsorg.kie.api.persistence.jpa org.kie.api.runtime The runtime engine classes, including KieSession and StatelessKieSession.org.kie.api.runtime.manager -
-
Uses of KieSession in org.kie.api
Methods in org.kie.api that return KieSession Modifier and Type Method Description KieSession
KieBase. newKieSession()
Creates a newKieSession
using the default session configuration.KieSession
KieBase. newKieSession(KieSessionConfiguration conf, Environment environment)
Creates a newKieSession
using the given session configuration and/or environment.Methods in org.kie.api that return types with arguments of type KieSession Modifier and Type Method Description java.util.Collection<? extends KieSession>
KieBase. getKieSessions()
Returns a collection of theKieSession
s that exist in thisKieBase
. -
Uses of KieSession in org.kie.api.marshalling
Methods in org.kie.api.marshalling that return KieSession Modifier and Type Method Description KieSession
Marshaller. unmarshall(java.io.InputStream stream)
Creates KieSession using default KieSessionConfiguration and Environment.KieSession
Marshaller. unmarshall(java.io.InputStream stream, KieSessionConfiguration config, Environment environment)
Creates KieSession using the given KieSessionConfiguration and Environment.Methods in org.kie.api.marshalling with parameters of type KieSession Modifier and Type Method Description void
Marshaller. marshall(java.io.OutputStream stream, KieSession ksession)
Marshalls the given KieSession into the provided OutputStreamvoid
Marshaller. unmarshall(java.io.InputStream stream, KieSession ksession)
Unmarshall the stream into the KieSession. -
Uses of KieSession in org.kie.api.persistence.jpa
Methods in org.kie.api.persistence.jpa that return KieSession Modifier and Type Method Description KieSession
KieStoreServices. loadKieSession(int id, KieBase kbase, KieSessionConfiguration configuration, Environment environment)
Deprecated.KieSession
KieStoreServices. loadKieSession(java.lang.Long id, KieBase kbase, KieSessionConfiguration configuration, Environment environment)
KieSession
KieStoreServices. newKieSession(KieBase kbase, KieSessionConfiguration configuration, Environment environment)
-
Uses of KieSession in org.kie.api.runtime
Methods in org.kie.api.runtime that return KieSession Modifier and Type Method Description KieSession
KieContainer. newKieSession()
Creates the default KieSession for this KieContainerKieSession
KieContainer. newKieSession(java.lang.String kSessionName)
Creates the KieSession with the given name for this KieContainerKieSession
KieContainer. newKieSession(java.lang.String kSessionName, Environment environment)
Creates the KieSession with the given name for this KieContainer using the given EnvironmentKieSession
KieContainer. newKieSession(java.lang.String kSessionName, Environment environment, KieSessionConfiguration conf)
Creates the KieSession with the given name for this KieContainer using the given Environment and configurationKieSession
KieContainer. newKieSession(java.lang.String kSessionName, KieSessionConfiguration conf)
Creates the KieSession with the given name for this KieContainer with the given configurationKieSession
KieContainer. newKieSession(Environment environment)
Creates the defaultKieSession
for this KieContainer using the given EnvironmentKieSession
KieContainer. newKieSession(Environment environment, KieSessionConfiguration conf)
Creates the default KieSession for this KieContainer with the given configuration and EnvironmentKieSession
KieContainer. newKieSession(KieSessionConfiguration conf)
Creates the default KieSession for this KieContainer with the given configurationKieSession
KieContainerSessionsPool. newKieSession(java.lang.String kSessionName)
Obtain aKieSession
with the given name from this pool.KieSession
KieContainerSessionsPool. newKieSession(java.lang.String kSessionName, KieSessionConfiguration conf)
Obtain aKieSession
with the given name and configuration from this pool.KieSession
KieRuntimeBuilder. newKieSession()
KieSession
KieRuntimeBuilder. newKieSession(java.lang.String sessionName)
default KieSession
KieRuntimeBuilder. newKieSession(KieSessionConfiguration conf)
KieSession
KieSessionsPool. newKieSession()
Obtain aKieSession
from this pool using the default session configuration.KieSession
KieSessionsPool. newKieSession(KieSessionConfiguration conf)
Obtain aKieSession
from this pool using using the given session configuration.Methods in org.kie.api.runtime with parameters of type KieSession Modifier and Type Method Description void
KieSession.AtomicAction. execute(KieSession kieSession)
RequestContext
RequestContext. with(KieSession kieSession)
-
Uses of KieSession in org.kie.api.runtime.manager
Methods in org.kie.api.runtime.manager that return KieSession Modifier and Type Method Description KieSession
RuntimeEngine. getKieSession()
-