# Uses of Interface
org.kie.api.KieBase

Packages that use KieBase
Package
Description
org.kie.api.event.kiebase
Events emitted while updating the definitions in the KieBase.
org.kie.api.internal.runtime
org.kie.api.marshalling
Marshalling classes are used to marshall and unmarshal StatefulKieSessions
org.kie.api.persistence.jpa
org.kie.api.runtime
The runtime engine classes, including KieSession and StatelessKieSession.

- ## Uses of KieBase in org.kie.api.event.kiebase

  Methods in org.kie.api.event.kiebase that return KieBase
  Modifier and Type
  Method
  Description
  `KieBase`
  BeforeKieBaseUnlockedEvent.`getKieBase()`
  `KieBase`
  KieBaseEvent.`getKieBase()`

- ## Uses of KieBase in org.kie.api.internal.runtime

  Methods in org.kie.api.internal.runtime with parameters of type KieBase
  Modifier and Type
  Method
  Description
  `T`
  KieRuntimeService.`newKieRuntime(KieBase kieBase)`

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

  Methods in org.kie.api.marshalling with parameters of type KieBase
  Modifier and Type
  Method
  Description
  `Marshaller`
  KieMarshallers.`newMarshaller(KieBase kbase)`
  The marshalling strategies for this method are undefined and thus they are derived from the ksession's or environment provided.
  `Marshaller`
  KieMarshallers.`newMarshaller(KieBase kbase, ObjectMarshallingStrategy[] strategies)`
  This will override the strategies specified in the ksession or environment.

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

  Methods in org.kie.api.persistence.jpa with parameters of type KieBase
  Modifier and Type
  Method
  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 KieBase in org.kie.api.runtime

  Methods in org.kie.api.runtime that return KieBase
  Modifier and Type
  Method
  Description
  `KieBase`
  KieContainer.`getKieBase()`
  Returns the default KieBase in this KieContainer.
  `KieBase`
  KieContainer.`getKieBase(String kBaseName)`
  Returns the KieBase with the given name in this KieContainer.
  `default KieBase`
  KieContext.`getKieBase()`
  `KieBase`
  KieRuntimeBuilder.`getKieBase()`
  `KieBase`
  KieRuntimeBuilder.`getKieBase(String name)`
  `KieBase`
  RuntimeSession.`getKieBase()`
  `KieBase`
  KieContainer.`newKieBase(String kBaseName, KieBaseConfiguration conf)`
  Creates a new KieBase with the given name using the given configuration.
  `KieBase`
  KieContainer.`newKieBase(KieBaseConfiguration conf)`
  Creates a new default KieBase using the given configuration.
  Methods in org.kie.api.runtime with parameters of type KieBase
  Modifier and Type
  Method
  Description
  `static KieRuntimeFactory`
  KieRuntimeFactory.`of(KieBase kieBase)`
  Creates an instance of this factory for the given KieBase
  `RequestContext`
  RequestContext.`with(KieBase kieBase)`