## Uses of Interface
org.kie.api.runtime.KieSession

- Packages that use KieSession
  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 |

- - ### Uses of KieSession in org.kie.api

    Methods in org.kie.api that return KieSession
    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.

    Methods in org.kie.api that return types with arguments of type KieSession
    Modifier and Type | Method and Description
    --- | ---
    `Collection<? extends KieSession>` | KieBase.`getKieSessions()` Returns a collection of the `KieSession`s that exist in this `KieBase`.

  - ### Uses of KieSession in org.kie.api.marshalling

    Methods in org.kie.api.marshalling that return KieSession
    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.

    Methods in org.kie.api.marshalling with parameters of type KieSession
    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.

  - ### Uses of KieSession in org.kie.api.persistence.jpa

    Methods in org.kie.api.persistence.jpa that return KieSession
    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)`

  - ### Uses of KieSession in org.kie.api.runtime

    Methods in org.kie.api.runtime that return KieSession
    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

  - ### Uses of KieSession in org.kie.api.runtime.manager

    Methods in org.kie.api.runtime.manager that return KieSession
    Modifier and Type | Method and Description
    --- | ---
    `KieSession` | RuntimeEngine.`getKieSession()` Returns `KieSession` configured for this `RuntimeEngine`

Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.