public class KieContainerImpl extends Object implements InternalKieContainer
| 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() |
ClassLoader |
getClassLoader() |
org.kie.api.builder.ReleaseId |
getConfiguredReleaseId()
Returns the RelaseId configured while creating the Kiecontainer.
|
String |
getContainerId()
Returns the ID assigned to the container.
|
org.kie.api.builder.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.
|
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()
Returns an already created defualt KieSession for this KieContainer or creates a new one
|
org.kie.api.runtime.KieSession |
getKieSession(String kSessionName)
Returns an already created KieSession with the given name for this KieContainer or creates a new one
|
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()
Returns the actual resolved ReleaseId.
|
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.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 |
updateToVersion(org.kie.api.builder.ReleaseId newReleaseId) |
org.kie.api.builder.Results |
verify() |
org.kie.api.builder.Results |
verify(String... kModelNames) |
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 InternalKieContainerKieModule of the KieContainer.getReleaseId()public String getContainerId()
InternalKieContainergetContainerId in interface InternalKieContainerpublic org.kie.api.builder.ReleaseId getConfiguredReleaseId()
InternalKieContainergetConfiguredReleaseId in interface InternalKieContainerpublic org.kie.api.builder.ReleaseId getResolvedReleaseId()
InternalKieContainergetResolvedReleaseId in interface InternalKieContainerpublic org.kie.api.builder.ReleaseId getReleaseId()
getReleaseId in interface org.kie.api.runtime.KieContainerpublic InputStream getPomAsStream()
getPomAsStream in interface InternalKieContainerpublic long getCreationTimestamp()
getCreationTimestamp in interface InternalKieContainerpublic org.kie.api.builder.ReleaseId getContainerReleaseId()
InternalKieContainergetContainerReleaseId in interface InternalKieContainerKieContainerImpl(String, KieProject, org.kie.api.builder.KieRepository, ReleaseId),
KieContainer.getReleaseId(),
KieContainer.updateToVersion(ReleaseId)public org.kie.api.builder.Results updateToVersion(org.kie.api.builder.ReleaseId newReleaseId)
updateToVersion in interface org.kie.api.runtime.KieContainerpublic org.kie.api.builder.Results updateDependencyToVersion(org.kie.api.builder.ReleaseId currentReleaseId,
org.kie.api.builder.ReleaseId newReleaseId)
updateDependencyToVersion in interface InternalKieContainerpublic Collection<String> getKieBaseNames()
getKieBaseNames in interface org.kie.api.runtime.KieContainerpublic Collection<String> getKieSessionNamesInKieBase(String kBaseName)
getKieSessionNamesInKieBase in interface org.kie.api.runtime.KieContainerpublic org.kie.api.KieBase getKieBase()
getKieBase in interface org.kie.api.runtime.KieContainerpublic org.kie.api.builder.Results verify()
verify in interface org.kie.api.runtime.KieContainerpublic org.kie.api.builder.Results verify(String... kModelNames)
verify in interface org.kie.api.runtime.KieContainerpublic org.kie.api.KieBase getKieBase(String kBaseName)
getKieBase in interface org.kie.api.runtime.KieContainerpublic org.kie.api.KieBase newKieBase(org.kie.api.KieBaseConfiguration conf)
newKieBase in interface org.kie.api.runtime.KieContainerpublic org.kie.api.KieBase newKieBase(String kBaseName, org.kie.api.KieBaseConfiguration conf)
newKieBase in interface org.kie.api.runtime.KieContainerpublic org.kie.api.runtime.KieSession newKieSession()
newKieSession in interface org.kie.api.runtime.KieContainerpublic org.kie.api.runtime.KieSession getKieSession()
InternalKieContainergetKieSession in interface InternalKieContainerKieSessionModel.setDefault(boolean)public org.kie.api.runtime.KieSession newKieSession(org.kie.api.runtime.KieSessionConfiguration conf)
newKieSession in interface org.kie.api.runtime.KieContainerpublic org.kie.api.runtime.KieSession newKieSession(org.kie.api.runtime.Environment environment)
newKieSession in interface org.kie.api.runtime.KieContainerpublic 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.KieContainerpublic org.kie.api.runtime.StatelessKieSession newStatelessKieSession()
newStatelessKieSession in interface org.kie.api.runtime.KieContainerpublic org.kie.api.runtime.StatelessKieSession newStatelessKieSession(org.kie.api.runtime.KieSessionConfiguration conf)
newStatelessKieSession in interface org.kie.api.runtime.KieContainerpublic org.kie.api.runtime.StatelessKieSession getStatelessKieSession()
getStatelessKieSession in interface InternalKieContainerpublic org.kie.api.runtime.KieSession newKieSession(String kSessionName)
newKieSession in interface org.kie.api.runtime.KieContainerpublic org.kie.api.runtime.KieSession getKieSession(String kSessionName)
InternalKieContainergetKieSession in interface InternalKieContainerKieSessionModel.setDefault(boolean)public org.kie.api.runtime.KieSession newKieSession(String kSessionName, org.kie.api.runtime.Environment environment)
newKieSession in interface org.kie.api.runtime.KieContainerpublic org.kie.api.runtime.KieSession newKieSession(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf)
newKieSession in interface org.kie.api.runtime.KieContainerpublic 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.KieContainerpublic org.kie.api.runtime.StatelessKieSession newStatelessKieSession(String kSessionName)
newStatelessKieSession in interface org.kie.api.runtime.KieContainerpublic org.kie.api.runtime.StatelessKieSession newStatelessKieSession(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf)
newStatelessKieSession in interface org.kie.api.runtime.KieContainerpublic org.kie.api.runtime.StatelessKieSession getStatelessKieSession(String kSessionName)
getStatelessKieSession in interface InternalKieContainerpublic org.kie.api.runtime.KieSessionConfiguration getKieSessionConfiguration()
getKieSessionConfiguration in interface org.kie.api.runtime.KieContainerpublic org.kie.api.runtime.KieSessionConfiguration getKieSessionConfiguration(String kSessionName)
getKieSessionConfiguration in interface org.kie.api.runtime.KieContainerpublic void dispose()
dispose in interface org.kie.api.runtime.KieContainerpublic 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.KieContainerpublic org.kie.api.builder.model.KieSessionModel getKieSessionModel(String kSessionName)
getKieSessionModel in interface org.kie.api.runtime.KieContainerpublic ClassLoader getClassLoader()
getClassLoader in interface org.kie.api.runtime.KieContainerCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.