public class KieContainerImpl extends Object implements org.drools.core.impl.InternalKieContainer
Modifier and Type | Field and Description |
---|---|
static String |
ALPHA_NETWORK_COMPILER_OPTION |
Constructor and Description |
---|
KieContainerImpl(KieProject kProject,
org.kie.api.builder.KieRepository kr)
Please note: the recommended way of getting a KieContainer is relying on
KieServices API,
for example: KieServices.newKieContainer(...) . |
KieContainerImpl(KieProject kProject,
org.kie.api.builder.KieRepository kr,
org.kie.api.builder.ReleaseId containerReleaseId)
Please note: the recommended way of getting a KieContainer is relying on
KieServices API,
for example: KieServices.newKieContainer(...) . |
KieContainerImpl(String containerId,
KieProject kProject,
org.kie.api.builder.KieRepository kr)
Please note: the recommended way of getting a KieContainer is relying on
KieServices API,
for example: KieServices.newKieContainer(...) . |
KieContainerImpl(String containerId,
KieProject kProject,
org.kie.api.builder.KieRepository kr,
org.kie.api.builder.ReleaseId containerReleaseId)
Please note: the recommended way of getting a KieContainer is relying on
KieServices API,
for example: KieServices.newKieContainer(...) . |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
disposeSession(org.kie.api.runtime.KieSession kieSession) |
void |
generateCompiledAlphaNetwork(KieBaseModelImpl kBaseModel,
InternalKieModule kModule,
org.drools.core.impl.InternalKnowledgeBase kBase) |
ClassLoader |
getClassLoader() |
org.kie.api.builder.ReleaseId |
getConfiguredReleaseId() |
String |
getContainerId() |
org.kie.api.builder.ReleaseId |
getContainerReleaseId() |
long |
getCreationTimestamp() |
org.kie.api.KieBase |
getKieBase() |
org.kie.api.KieBase |
getKieBase(String kBaseName) |
org.kie.api.builder.model.KieBaseModel |
getKieBaseModel(String kBaseName) |
Collection<String> |
getKieBaseNames() |
org.kie.api.builder.KieModule |
getKieModuleForKBase(String kBaseName) |
KieProject |
getKieProject() |
org.kie.api.runtime.KieSession |
getKieSession() |
org.kie.api.runtime.KieSession |
getKieSession(String kSessionName) |
org.kie.api.runtime.KieSessionConfiguration |
getKieSessionConfiguration() |
org.kie.api.runtime.KieSessionConfiguration |
getKieSessionConfiguration(String kSessionName) |
org.kie.api.builder.model.KieSessionModel |
getKieSessionModel(String kSessionName) |
Collection<String> |
getKieSessionNamesInKieBase(String kBaseName) |
org.kie.api.builder.KieModule |
getMainKieModule() |
InputStream |
getPomAsStream() |
org.kie.api.builder.ReleaseId |
getReleaseId() |
org.kie.api.builder.ReleaseId |
getResolvedReleaseId() |
org.kie.api.runtime.StatelessKieSession |
getStatelessKieSession() |
org.kie.api.runtime.StatelessKieSession |
getStatelessKieSession(String kSessionName) |
org.kie.api.KieBase |
newKieBase(org.kie.api.KieBaseConfiguration conf) |
org.kie.api.KieBase |
newKieBase(String kBaseName,
org.kie.api.KieBaseConfiguration conf) |
org.kie.api.runtime.KieSession |
newKieSession() |
org.kie.api.runtime.KieSession |
newKieSession(org.kie.api.runtime.Environment environment) |
org.kie.api.runtime.KieSession |
newKieSession(org.kie.api.runtime.Environment environment,
org.kie.api.runtime.KieSessionConfiguration conf) |
org.kie.api.runtime.KieSession |
newKieSession(org.kie.api.runtime.KieSessionConfiguration conf) |
org.kie.api.runtime.KieSession |
newKieSession(String kSessionName) |
org.kie.api.runtime.KieSession |
newKieSession(String kSessionName,
org.kie.api.runtime.Environment environment) |
org.kie.api.runtime.KieSession |
newKieSession(String kSessionName,
org.kie.api.runtime.Environment environment,
org.kie.api.runtime.KieSessionConfiguration conf) |
org.kie.api.runtime.KieSession |
newKieSession(String kSessionName,
org.kie.api.runtime.KieSessionConfiguration conf) |
org.kie.api.runtime.KieContainerSessionsPool |
newKieSessionsPool(int initialSize) |
org.kie.api.runtime.rule.RuleUnitExecutor |
newRuleUnitExecutor() |
org.kie.api.runtime.rule.RuleUnitExecutor |
newRuleUnitExecutor(org.kie.api.runtime.KieSessionConfiguration conf) |
org.kie.api.runtime.rule.RuleUnitExecutor |
newRuleUnitExecutor(String kSessionName) |
org.kie.api.runtime.rule.RuleUnitExecutor |
newRuleUnitExecutor(String kSessionName,
org.kie.api.runtime.KieSessionConfiguration conf) |
org.kie.api.runtime.StatelessKieSession |
newStatelessKieSession() |
org.kie.api.runtime.StatelessKieSession |
newStatelessKieSession(org.kie.api.runtime.KieSessionConfiguration conf) |
org.kie.api.runtime.StatelessKieSession |
newStatelessKieSession(String kSessionName) |
org.kie.api.runtime.StatelessKieSession |
newStatelessKieSession(String kSessionName,
org.kie.api.runtime.KieSessionConfiguration conf) |
org.kie.api.builder.Results |
updateDependencyToVersion(org.kie.api.builder.ReleaseId currentReleaseId,
org.kie.api.builder.ReleaseId newReleaseId) |
org.kie.api.builder.Results |
updateToKieModule(InternalKieModule newKM) |
org.kie.api.builder.Results |
updateToVersion(org.kie.api.builder.ReleaseId newReleaseId) |
org.kie.api.builder.Results |
verify() |
org.kie.api.builder.Results |
verify(String... kModelNames) |
public static final String ALPHA_NETWORK_COMPILER_OPTION
public KieContainerImpl(KieProject kProject, org.kie.api.builder.KieRepository kr)
KieServices
API,
for example: KieServices.newKieContainer(...)
.
The direct manual call to KieContainerImpl constructor instead would not guarantee the consistency of the supplied containerId.public KieContainerImpl(KieProject kProject, org.kie.api.builder.KieRepository kr, org.kie.api.builder.ReleaseId containerReleaseId)
KieServices
API,
for example: KieServices.newKieContainer(...)
.
The direct manual call to KieContainerImpl constructor instead would not guarantee the consistency of the supplied containerId.public KieContainerImpl(String containerId, KieProject kProject, org.kie.api.builder.KieRepository kr)
KieServices
API,
for example: KieServices.newKieContainer(...)
.
The direct manual call to KieContainerImpl constructor instead would not guarantee the consistency of the supplied containerId.public KieContainerImpl(String containerId, KieProject kProject, org.kie.api.builder.KieRepository kr, org.kie.api.builder.ReleaseId containerReleaseId)
KieServices
API,
for example: KieServices.newKieContainer(...)
.
The direct manual call to KieContainerImpl constructor instead would not guarantee the consistency of the supplied containerId.public org.kie.api.builder.KieModule getMainKieModule()
getMainKieModule
in interface org.drools.core.impl.InternalKieContainer
public String getContainerId()
getContainerId
in interface org.drools.core.impl.InternalKieContainer
public org.kie.api.builder.ReleaseId getConfiguredReleaseId()
getConfiguredReleaseId
in interface org.drools.core.impl.InternalKieContainer
public org.kie.api.builder.ReleaseId getResolvedReleaseId()
getResolvedReleaseId
in interface org.drools.core.impl.InternalKieContainer
public org.kie.api.builder.ReleaseId getReleaseId()
getReleaseId
in interface org.kie.api.runtime.KieContainer
public InputStream getPomAsStream()
getPomAsStream
in interface org.drools.core.impl.InternalKieContainer
public long getCreationTimestamp()
getCreationTimestamp
in interface org.drools.core.impl.InternalKieContainer
public org.kie.api.builder.ReleaseId getContainerReleaseId()
getContainerReleaseId
in interface org.drools.core.impl.InternalKieContainer
public org.kie.api.builder.Results updateToVersion(org.kie.api.builder.ReleaseId newReleaseId)
updateToVersion
in interface org.kie.api.runtime.KieContainer
public org.kie.api.builder.Results updateToKieModule(InternalKieModule newKM)
public org.kie.api.builder.Results updateDependencyToVersion(org.kie.api.builder.ReleaseId currentReleaseId, org.kie.api.builder.ReleaseId newReleaseId)
updateDependencyToVersion
in interface org.drools.core.impl.InternalKieContainer
public Collection<String> getKieBaseNames()
getKieBaseNames
in interface org.kie.api.runtime.KieContainer
public Collection<String> getKieSessionNamesInKieBase(String kBaseName)
getKieSessionNamesInKieBase
in interface org.kie.api.runtime.KieContainer
public org.kie.api.KieBase getKieBase()
getKieBase
in interface org.kie.api.runtime.KieContainer
public org.kie.api.builder.Results verify()
verify
in interface org.kie.api.runtime.KieContainer
public org.kie.api.builder.Results verify(String... kModelNames)
verify
in interface org.kie.api.runtime.KieContainer
public org.kie.api.KieBase getKieBase(String kBaseName)
getKieBase
in interface org.kie.api.runtime.KieContainer
public org.kie.api.KieBase newKieBase(org.kie.api.KieBaseConfiguration conf)
newKieBase
in interface org.kie.api.runtime.KieContainer
public org.kie.api.KieBase newKieBase(String kBaseName, org.kie.api.KieBaseConfiguration conf)
newKieBase
in interface org.kie.api.runtime.KieContainer
public void generateCompiledAlphaNetwork(KieBaseModelImpl kBaseModel, InternalKieModule kModule, org.drools.core.impl.InternalKnowledgeBase kBase)
public org.kie.api.runtime.KieSession newKieSession()
newKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.KieSession getKieSession()
getKieSession
in interface org.drools.core.impl.InternalKieContainer
public org.kie.api.runtime.KieSession newKieSession(org.kie.api.runtime.KieSessionConfiguration conf)
newKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.KieSession newKieSession(org.kie.api.runtime.Environment environment)
newKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.KieSession newKieSession(org.kie.api.runtime.Environment environment, org.kie.api.runtime.KieSessionConfiguration conf)
newKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.KieContainerSessionsPool newKieSessionsPool(int initialSize)
newKieSessionsPool
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.rule.RuleUnitExecutor newRuleUnitExecutor()
newRuleUnitExecutor
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.rule.RuleUnitExecutor newRuleUnitExecutor(org.kie.api.runtime.KieSessionConfiguration conf)
newRuleUnitExecutor
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.rule.RuleUnitExecutor newRuleUnitExecutor(String kSessionName)
newRuleUnitExecutor
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.rule.RuleUnitExecutor newRuleUnitExecutor(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf)
newRuleUnitExecutor
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.StatelessKieSession newStatelessKieSession()
newStatelessKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.StatelessKieSession newStatelessKieSession(org.kie.api.runtime.KieSessionConfiguration conf)
newStatelessKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.StatelessKieSession getStatelessKieSession()
getStatelessKieSession
in interface org.drools.core.impl.InternalKieContainer
public org.kie.api.runtime.KieSession newKieSession(String kSessionName)
newKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.KieSession getKieSession(String kSessionName)
getKieSession
in interface org.drools.core.impl.InternalKieContainer
public org.kie.api.runtime.KieSession newKieSession(String kSessionName, org.kie.api.runtime.Environment environment)
newKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.KieSession newKieSession(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf)
newKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.KieSession newKieSession(String kSessionName, org.kie.api.runtime.Environment environment, org.kie.api.runtime.KieSessionConfiguration conf)
newKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.StatelessKieSession newStatelessKieSession(String kSessionName)
newStatelessKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.StatelessKieSession newStatelessKieSession(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf)
newStatelessKieSession
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.StatelessKieSession getStatelessKieSession(String kSessionName)
getStatelessKieSession
in interface org.drools.core.impl.InternalKieContainer
public org.kie.api.runtime.KieSessionConfiguration getKieSessionConfiguration()
getKieSessionConfiguration
in interface org.kie.api.runtime.KieContainer
public org.kie.api.runtime.KieSessionConfiguration getKieSessionConfiguration(String kSessionName)
getKieSessionConfiguration
in interface org.kie.api.runtime.KieContainer
public void dispose()
dispose
in interface org.kie.api.runtime.KieContainer
public void disposeSession(org.kie.api.runtime.KieSession kieSession)
disposeSession
in interface org.drools.core.impl.InternalKieContainer
public KieProject getKieProject()
public org.kie.api.builder.KieModule getKieModuleForKBase(String kBaseName)
public org.kie.api.builder.model.KieBaseModel getKieBaseModel(String kBaseName)
getKieBaseModel
in interface org.kie.api.runtime.KieContainer
public org.kie.api.builder.model.KieSessionModel getKieSessionModel(String kSessionName)
getKieSessionModel
in interface org.kie.api.runtime.KieContainer
public ClassLoader getClassLoader()
getClassLoader
in interface org.kie.api.runtime.KieContainer
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.