Interface InternalKieContainer

All Superinterfaces:
KieContainer

public interface InternalKieContainer extends KieContainer
  • Method Details

    • getKieSession

      KieSession getKieSession()
      Returns an already created defualt KieSession for this KieContainer or creates a new one
      Throws:
      RuntimeException - if this KieContainer doesn't have any defualt KieSession
      See Also:
    • getKieSession

      KieSession getKieSession(String kSessionName)
      Returns an already created KieSession with the given name for this KieContainer or creates a new one
      Throws:
      RuntimeException - if this KieContainer doesn't have any defualt KieSession
      See Also:
    • getStatelessKieSession

      StatelessKieSession getStatelessKieSession()
    • getStatelessKieSession

      StatelessKieSession getStatelessKieSession(String kSessionName)
    • getContainerReleaseId

      ReleaseId getContainerReleaseId()
      Internal use: returns the RelaseId configured while creating the Kiecontainer, or alternatively if the RelaseId was NOT configured while creating the Kiecontainer, returns the the ReleaseId of the KieModule wrapped by this KieContainer. Additionally, please notice this will always gets updated to the parameter passed as updateToVersion(ReleaseId).
      See Also:
    • getCreationTimestamp

      long getCreationTimestamp()
    • updateDependencyToVersion

      Results updateDependencyToVersion(ReleaseId currentReleaseId, ReleaseId newReleaseId)
    • getPomAsStream

      InputStream getPomAsStream()
    • getMainKieModule

      KieModule getMainKieModule()
      Returns:
      the KieModule of the KieContainer.getReleaseId()
    • getContainerId

      String getContainerId()
      Returns the ID assigned to the container.
      Returns:
      the ID assigned to the container.
    • getConfiguredReleaseId

      ReleaseId getConfiguredReleaseId()
      Returns the RelaseId configured while creating the Kiecontainer.
      Returns:
      the RelaseId configured while creating the Kiecontainer.
    • getResolvedReleaseId

      ReleaseId getResolvedReleaseId()
      Returns the actual resolved ReleaseId.
      Returns:
      the actual resolved ReleaseId.
    • disposeSession

      void disposeSession(KieSession kieSession)