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

- Packages that use Environment
  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 Environment in org.kie.api

    Methods in org.kie.api that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | KieServices.`newEnvironment()` Instantiate and return an Environment

    Methods in org.kie.api with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `KieSession` | KieBase.`newKieSession(KieSessionConfiguration conf, Environment environment)` Creates a new `KieSession` using the given session configuration and/or environment.

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

    Methods in org.kie.api.marshalling with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `KieSession` | Marshaller.`unmarshall(InputStream stream, KieSessionConfiguration config, Environment environment)` Creates StatefulKnowledgeSession using the given KnowledgeSessionConfiguration and Environment.

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

    Methods in org.kie.api.persistence.jpa with parameters of type Environment
    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 Environment in org.kie.api.runtime

    Methods in org.kie.api.runtime that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | KieRuntime.`getEnvironment()`

    Methods in org.kie.api.runtime with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `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(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
    `void` | Environment.`setDelegate(Environment delegate)`

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

    Methods in org.kie.api.runtime.manager that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | RuntimeEnvironment.`getEnvironment()` KieSession environment that shall be used to create instances of `KieSession`

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