Class KieContainerImpl
java.lang.Object
org.drools.compiler.kie.builder.impl.KieContainerImpl
- All Implemented Interfaces:
InternalKieContainer,KieContainer
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionKieContainerImpl(String containerId, KieProject kProject, KieRepository kr) Please note: the recommended way of getting a KieContainer is relying onKieServicesAPI, for example:KieServices.newKieContainer(...).KieContainerImpl(String containerId, KieProject kProject, KieRepository kr, ReleaseId containerReleaseId) Please note: the recommended way of getting a KieContainer is relying onKieServicesAPI, for example:KieServices.newKieContainer(...).KieContainerImpl(KieProject kProject, KieRepository kr) Please note: the recommended way of getting a KieContainer is relying onKieServicesAPI, for example:KieServices.newKieContainer(...).KieContainerImpl(KieProject kProject, KieRepository kr, ReleaseId containerReleaseId) Please note: the recommended way of getting a KieContainer is relying onKieServicesAPI, for example:KieServices.newKieContainer(...). -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voiddisposeSession(KieSession kieSession) longgetKieBase(String kBaseName) getKieBaseModel(String kBaseName) getKieModuleForKBase(String kBaseName) getKieSession(String kSessionName) getKieSessionConfiguration(String kSessionName) getKieSessionModel(String kSessionName) getKieSessionNamesInKieBase(String kBaseName) getStatelessKieSession(String kSessionName) newKieBase(String kBaseName, KieBaseConfiguration conf) newKieSession(String kSessionName) newKieSession(String kSessionName, Environment environment) newKieSession(String kSessionName, Environment environment, KieSessionConfiguration conf) newKieSession(String kSessionName, KieSessionConfiguration conf) newKieSession(Environment environment) newKieSession(Environment environment, KieSessionConfiguration conf) newKieSessionsPool(int initialSize) newStatelessKieSession(String kSessionName) newStatelessKieSession(String kSessionName, KieSessionConfiguration conf) updateDependencyToVersion(ReleaseId currentReleaseId, ReleaseId newReleaseId) updateToVersion(ReleaseId newReleaseId) verify()
-
Constructor Details
-
KieContainerImpl
Please note: the recommended way of getting a KieContainer is relying onKieServicesAPI, for example:KieServices.newKieContainer(...). The direct manual call to KieContainerImpl constructor instead would not guarantee the consistency of the supplied containerId. -
KieContainerImpl
Please note: the recommended way of getting a KieContainer is relying onKieServicesAPI, for example:KieServices.newKieContainer(...). The direct manual call to KieContainerImpl constructor instead would not guarantee the consistency of the supplied containerId. -
KieContainerImpl
Please note: the recommended way of getting a KieContainer is relying onKieServicesAPI, for example:KieServices.newKieContainer(...). The direct manual call to KieContainerImpl constructor instead would not guarantee the consistency of the supplied containerId. -
KieContainerImpl
public KieContainerImpl(String containerId, KieProject kProject, KieRepository kr, ReleaseId containerReleaseId) Please note: the recommended way of getting a KieContainer is relying onKieServicesAPI, for example:KieServices.newKieContainer(...). The direct manual call to KieContainerImpl constructor instead would not guarantee the consistency of the supplied containerId.
-
-
Method Details
-
getMainKieModule
- Specified by:
getMainKieModulein interfaceInternalKieContainer
-
getContainerId
- Specified by:
getContainerIdin interfaceInternalKieContainer
-
getConfiguredReleaseId
- Specified by:
getConfiguredReleaseIdin interfaceInternalKieContainer
-
getResolvedReleaseId
- Specified by:
getResolvedReleaseIdin interfaceInternalKieContainer
-
getReleaseId
- Specified by:
getReleaseIdin interfaceKieContainer
-
getPomAsStream
- Specified by:
getPomAsStreamin interfaceInternalKieContainer
-
getCreationTimestamp
public long getCreationTimestamp()- Specified by:
getCreationTimestampin interfaceInternalKieContainer
-
getContainerReleaseId
- Specified by:
getContainerReleaseIdin interfaceInternalKieContainer
-
updateToVersion
- Specified by:
updateToVersionin interfaceKieContainer
-
updateToKieModule
-
updateDependencyToVersion
- Specified by:
updateDependencyToVersionin interfaceInternalKieContainer
-
getKieBaseNames
- Specified by:
getKieBaseNamesin interfaceKieContainer
-
getKieSessionNamesInKieBase
- Specified by:
getKieSessionNamesInKieBasein interfaceKieContainer
-
getKieBase
- Specified by:
getKieBasein interfaceKieContainer
-
verify
- Specified by:
verifyin interfaceKieContainer
-
verify
- Specified by:
verifyin interfaceKieContainer
-
getKieBase
- Specified by:
getKieBasein interfaceKieContainer
-
newKieBase
- Specified by:
newKieBasein interfaceKieContainer
-
newKieBase
- Specified by:
newKieBasein interfaceKieContainer
-
newKieSession
- Specified by:
newKieSessionin interfaceKieContainer
-
getKieSession
- Specified by:
getKieSessionin interfaceInternalKieContainer
-
newKieSession
- Specified by:
newKieSessionin interfaceKieContainer
-
newKieSession
- Specified by:
newKieSessionin interfaceKieContainer
-
newKieSession
- Specified by:
newKieSessionin interfaceKieContainer
-
newKieSessionsPool
- Specified by:
newKieSessionsPoolin interfaceKieContainer
-
newStatelessKieSession
- Specified by:
newStatelessKieSessionin interfaceKieContainer
-
newStatelessKieSession
- Specified by:
newStatelessKieSessionin interfaceKieContainer
-
getStatelessKieSession
- Specified by:
getStatelessKieSessionin interfaceInternalKieContainer
-
newKieSession
- Specified by:
newKieSessionin interfaceKieContainer
-
getKieSession
- Specified by:
getKieSessionin interfaceInternalKieContainer
-
newKieSession
- Specified by:
newKieSessionin interfaceKieContainer
-
newKieSession
- Specified by:
newKieSessionin interfaceKieContainer
-
newKieSession
public KieSession newKieSession(String kSessionName, Environment environment, KieSessionConfiguration conf) - Specified by:
newKieSessionin interfaceKieContainer
-
newStatelessKieSession
- Specified by:
newStatelessKieSessionin interfaceKieContainer
-
newStatelessKieSession
public StatelessKieSession newStatelessKieSession(String kSessionName, KieSessionConfiguration conf) - Specified by:
newStatelessKieSessionin interfaceKieContainer
-
getStatelessKieSession
- Specified by:
getStatelessKieSessionin interfaceInternalKieContainer
-
getKieSessionConfiguration
- Specified by:
getKieSessionConfigurationin interfaceKieContainer
-
getKieSessionConfiguration
- Specified by:
getKieSessionConfigurationin interfaceKieContainer
-
dispose
public void dispose()- Specified by:
disposein interfaceKieContainer
-
disposeSession
- Specified by:
disposeSessionin interfaceInternalKieContainer
-
getKieProject
-
getKieModuleForKBase
-
getKieBaseModel
- Specified by:
getKieBaseModelin interfaceKieContainer
-
getKieSessionModel
- Specified by:
getKieSessionModelin interfaceKieContainer
-
getClassLoader
- Specified by:
getClassLoaderin interfaceKieContainer
-