public interface InternalRuntimeManager
extends org.kie.api.runtime.manager.RuntimeManager
Modifier and Type | Method and Description |
---|---|
CacheManager |
getCacheManager()
Retrieves instance of cache manager
|
DeploymentDescriptor |
getDeploymentDescriptor()
Returns current deployment descriptor for this instance of RuntimeManager, might be null if
descriptors are not used
|
RuntimeEnvironment |
getEnvironment()
Returns the actual environment used by the
RuntimeManager |
org.kie.api.runtime.KieContainer |
getKieContainer()
Returns KieContainer associated with this runtime manager if any
|
boolean |
isClosed()
Indicates if the runtime manager is closed.
|
void |
setCacheManager(CacheManager cacheManager)
Sets CacheManager to be used for manager scoped cacheable items
|
void |
setDeploymentDescriptor(DeploymentDescriptor descriptor)
Sets deployment descriptor for this instance of RuntimeManager
|
void |
setKieContainer(org.kie.api.runtime.KieContainer kieContainer)
Sets KieContainer to be associated with this runtime manager
|
void |
setSecurityManager(SecurityManager securityManager)
Sets Security Manager to be used by this instance of RuntimeManager
|
void |
validate(org.kie.api.runtime.KieSession ksession,
org.kie.api.runtime.manager.Context<?> context)
Validates if given
KieSession is eligible to be used with given context. |
void validate(org.kie.api.runtime.KieSession ksession, org.kie.api.runtime.manager.Context<?> context) throws IllegalStateException
KieSession
is eligible to be used with given context.ksession
- instance of KieSession
context
- instance of Context
IllegalStateException
- in case validation failsRuntimeEnvironment getEnvironment()
RuntimeManager
boolean isClosed()
DeploymentDescriptor getDeploymentDescriptor()
void setDeploymentDescriptor(DeploymentDescriptor descriptor)
descriptor
- void setSecurityManager(SecurityManager securityManager)
securityManager
- void setCacheManager(CacheManager cacheManager)
cacheManager
- CacheManager getCacheManager()
org.kie.api.runtime.KieContainer getKieContainer()
void setKieContainer(org.kie.api.runtime.KieContainer kieContainer)
kieContainer
- Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.