Package org.drools.core.impl
Interface InternalKieContainer
- All Superinterfaces:
KieContainer
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisposeSession(KieSession kieSession) Returns the RelaseId configured while creating the Kiecontainer.Returns the ID assigned to the container.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.longReturns an already created defualt KieSession for this KieContainer or creates a new onegetKieSession(String kSessionName) Returns an already created KieSession with the given name for this KieContainer or creates a new oneReturns the actual resolved ReleaseId.getStatelessKieSession(String kSessionName) updateDependencyToVersion(ReleaseId currentReleaseId, ReleaseId newReleaseId) Methods inherited from interface org.kie.api.runtime.KieContainer
dispose, getClassLoader, getKieBase, getKieBase, getKieBaseModel, getKieBaseNames, getKieSessionConfiguration, getKieSessionConfiguration, getKieSessionModel, getKieSessionNamesInKieBase, getReleaseId, newKieBase, newKieBase, newKieSession, newKieSession, newKieSession, newKieSession, newKieSession, newKieSession, newKieSession, newKieSession, newKieSessionsPool, newStatelessKieSession, newStatelessKieSession, newStatelessKieSession, newStatelessKieSession, updateToVersion, verify, verify
-
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
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
-
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). -
getCreationTimestamp
long getCreationTimestamp() -
updateDependencyToVersion
-
getPomAsStream
InputStream getPomAsStream() -
getMainKieModule
KieModule getMainKieModule()- Returns:
- the
KieModuleof theKieContainer.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
-