public interface InternalRuntimeManager
extends org.kie.api.runtime.manager.RuntimeManager
Modifier and Type | Method and Description |
---|---|
RuntimeEnvironment |
getEnvironment()
Returns the actual environment used by the
RuntimeManager |
boolean |
isClosed()
Indicates if the runtime manager is closed.
|
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()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.