public class KieServicesImpl extends Object implements InternalKieServices
Constructor and Description |
---|
KieServicesImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clearRefToContainerId(String containerId,
org.kie.api.runtime.KieContainer containerRef)
Clear the containerId reference from the internal registry hold by the KieServices.
|
org.kie.api.command.KieCommands |
getCommands() |
org.kie.api.concurrent.KieExecutors |
getExecutors() |
org.kie.api.runtime.KieContainer |
getKieClasspathContainer()
Returns KieContainer for the classpath
|
org.kie.api.runtime.KieContainer |
getKieClasspathContainer(ClassLoader classLoader) |
org.kie.api.runtime.KieContainer |
getKieClasspathContainer(String containerId) |
org.kie.api.runtime.KieContainer |
getKieClasspathContainer(String containerId,
ClassLoader classLoader) |
org.kie.api.logger.KieLoggers |
getLoggers() |
org.kie.api.marshalling.KieMarshallers |
getMarshallers() |
org.kie.api.builder.KieRepository |
getRepository() |
org.kie.api.io.KieResources |
getResources() |
org.kie.api.persistence.jpa.KieStoreServices |
getStoreServices() |
org.kie.api.runtime.Environment |
newEnvironment() |
org.kie.api.KieBaseConfiguration |
newKieBaseConfiguration() |
org.kie.api.KieBaseConfiguration |
newKieBaseConfiguration(Properties properties) |
org.kie.api.KieBaseConfiguration |
newKieBaseConfiguration(Properties properties,
ClassLoader classLoader) |
org.kie.api.builder.KieBuilder |
newKieBuilder(File file) |
org.kie.api.builder.KieBuilder |
newKieBuilder(org.kie.api.builder.KieFileSystem kieFileSystem) |
org.kie.api.builder.KieBuilder |
newKieBuilder(org.kie.api.builder.KieFileSystem kieFileSystem,
ClassLoader classLoader) |
org.kie.api.runtime.KieContainer |
newKieClasspathContainer() |
org.kie.api.runtime.KieContainer |
newKieClasspathContainer(ClassLoader classLoader) |
org.kie.api.runtime.KieContainer |
newKieClasspathContainer(String containerId) |
org.kie.api.runtime.KieContainer |
newKieClasspathContainer(String containerId,
ClassLoader classLoader) |
org.kie.api.runtime.KieContainer |
newKieContainer(org.kie.api.builder.ReleaseId releaseId) |
org.kie.api.runtime.KieContainer |
newKieContainer(org.kie.api.builder.ReleaseId releaseId,
ClassLoader classLoader) |
org.kie.api.runtime.KieContainer |
newKieContainer(String containerId,
org.kie.api.builder.ReleaseId releaseId) |
org.kie.api.runtime.KieContainer |
newKieContainer(String containerId,
org.kie.api.builder.ReleaseId releaseId,
ClassLoader classLoader) |
org.kie.api.builder.KieFileSystem |
newKieFileSystem() |
org.kie.api.builder.model.KieModuleModel |
newKieModuleModel() |
org.kie.api.builder.KieScanner |
newKieScanner(org.kie.api.runtime.KieContainer kieContainer) |
org.kie.api.builder.KieScanner |
newKieScanner(org.kie.api.runtime.KieContainer kieContainer,
String repositoryFolder) |
org.kie.api.runtime.KieSessionConfiguration |
newKieSessionConfiguration() |
org.kie.api.runtime.KieSessionConfiguration |
newKieSessionConfiguration(Properties properties) |
org.kie.api.runtime.KieSessionConfiguration |
newKieSessionConfiguration(Properties properties,
ClassLoader classLoader) |
org.kie.api.builder.ReleaseId |
newReleaseId(String groupId,
String artifactId,
String version) |
void |
nullAllContainerIds()
Voids the internal map of containerId (s) used for handling reference and unique checks.
|
void |
nullKieClasspathContainer() |
void |
registerListener(KieServicesEventListerner listener) |
public org.kie.api.builder.KieRepository getRepository()
getRepository
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer getKieClasspathContainer()
getKieClasspathContainer
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer getKieClasspathContainer(ClassLoader classLoader)
getKieClasspathContainer
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer getKieClasspathContainer(String containerId)
getKieClasspathContainer
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer getKieClasspathContainer(String containerId, ClassLoader classLoader)
getKieClasspathContainer
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer newKieClasspathContainer()
newKieClasspathContainer
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer newKieClasspathContainer(ClassLoader classLoader)
newKieClasspathContainer
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer newKieClasspathContainer(String containerId)
newKieClasspathContainer
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer newKieClasspathContainer(String containerId, ClassLoader classLoader)
newKieClasspathContainer
in interface org.kie.api.KieServices
public void nullKieClasspathContainer()
public void nullAllContainerIds()
public void clearRefToContainerId(String containerId, org.kie.api.runtime.KieContainer containerRef)
InternalKieServices
clearRefToContainerId
in interface InternalKieServices
public org.kie.api.runtime.KieContainer newKieContainer(org.kie.api.builder.ReleaseId releaseId)
newKieContainer
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer newKieContainer(String containerId, org.kie.api.builder.ReleaseId releaseId)
newKieContainer
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer newKieContainer(org.kie.api.builder.ReleaseId releaseId, ClassLoader classLoader)
newKieContainer
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieContainer newKieContainer(String containerId, org.kie.api.builder.ReleaseId releaseId, ClassLoader classLoader)
newKieContainer
in interface org.kie.api.KieServices
public org.kie.api.builder.KieBuilder newKieBuilder(File file)
newKieBuilder
in interface org.kie.api.KieServices
public org.kie.api.builder.KieBuilder newKieBuilder(org.kie.api.builder.KieFileSystem kieFileSystem)
newKieBuilder
in interface org.kie.api.KieServices
public org.kie.api.builder.KieBuilder newKieBuilder(org.kie.api.builder.KieFileSystem kieFileSystem, ClassLoader classLoader)
newKieBuilder
in interface org.kie.api.KieServices
public org.kie.api.builder.KieScanner newKieScanner(org.kie.api.runtime.KieContainer kieContainer)
newKieScanner
in interface org.kie.api.KieServices
public org.kie.api.builder.KieScanner newKieScanner(org.kie.api.runtime.KieContainer kieContainer, String repositoryFolder)
newKieScanner
in interface org.kie.api.KieServices
public org.kie.api.io.KieResources getResources()
getResources
in interface org.kie.api.KieServices
public org.kie.api.command.KieCommands getCommands()
getCommands
in interface org.kie.api.KieServices
public org.kie.api.marshalling.KieMarshallers getMarshallers()
getMarshallers
in interface org.kie.api.KieServices
public org.kie.api.logger.KieLoggers getLoggers()
getLoggers
in interface org.kie.api.KieServices
public org.kie.api.concurrent.KieExecutors getExecutors()
public org.kie.api.persistence.jpa.KieStoreServices getStoreServices()
getStoreServices
in interface org.kie.api.KieServices
public org.kie.api.builder.ReleaseId newReleaseId(String groupId, String artifactId, String version)
newReleaseId
in interface org.kie.api.KieServices
public org.kie.api.builder.model.KieModuleModel newKieModuleModel()
newKieModuleModel
in interface org.kie.api.KieServices
public org.kie.api.builder.KieFileSystem newKieFileSystem()
newKieFileSystem
in interface org.kie.api.KieServices
public org.kie.api.KieBaseConfiguration newKieBaseConfiguration()
newKieBaseConfiguration
in interface org.kie.api.KieServices
public org.kie.api.KieBaseConfiguration newKieBaseConfiguration(Properties properties)
newKieBaseConfiguration
in interface org.kie.api.KieServices
public org.kie.api.KieBaseConfiguration newKieBaseConfiguration(Properties properties, ClassLoader classLoader)
newKieBaseConfiguration
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieSessionConfiguration newKieSessionConfiguration()
newKieSessionConfiguration
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieSessionConfiguration newKieSessionConfiguration(Properties properties)
newKieSessionConfiguration
in interface org.kie.api.KieServices
public org.kie.api.runtime.KieSessionConfiguration newKieSessionConfiguration(Properties properties, ClassLoader classLoader)
newKieSessionConfiguration
in interface org.kie.api.KieServices
public org.kie.api.runtime.Environment newEnvironment()
newEnvironment
in interface org.kie.api.KieServices
public void registerListener(KieServicesEventListerner listener)
registerListener
in interface InternalKieServices
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.