KIE Internal 6.1.0.Final

org.kie.internal.runtime.manager
Interface InternalRuntimeManager

All Superinterfaces:
org.kie.api.runtime.manager.RuntimeManager

public interface InternalRuntimeManager
extends org.kie.api.runtime.manager.RuntimeManager

Extension to stable API of RuntimeManager that provides additional capabilities that eventually will get propagated to main interface.


Method Summary
 DeploymentDescriptor getDeploymentDescriptor()
           
 RuntimeEnvironment getEnvironment()
          Returns the actual environment used by the RuntimeManager
 boolean isClosed()
          Indicates if the runtime manager is closed.
 void setDeploymentDescriptor(DeploymentDescriptor descriptor)
           
 void setSecurityManager(SecurityManager securityManager)
           
 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.
 
Methods inherited from interface org.kie.api.runtime.manager.RuntimeManager
close, disposeRuntimeEngine, getIdentifier, getRuntimeEngine
 

Method Detail

validate

void validate(org.kie.api.runtime.KieSession ksession,
              org.kie.api.runtime.manager.Context<?> context)
              throws IllegalStateException
Validates if given KieSession is eligible to be used with given context.

Parameters:
ksession - instance of KieSession
context - instance of Context
Throws:
IllegalStateException - in case validation fails

getEnvironment

RuntimeEnvironment getEnvironment()
Returns the actual environment used by the RuntimeManager

Returns:

isClosed

boolean isClosed()
Indicates if the runtime manager is closed.

Returns:
true if runtime manager is closed (close method was invoked on it) otherwise false

getDeploymentDescriptor

DeploymentDescriptor getDeploymentDescriptor()

setDeploymentDescriptor

void setDeploymentDescriptor(DeploymentDescriptor descriptor)

setSecurityManager

void setSecurityManager(SecurityManager securityManager)

KIE Internal 6.1.0.Final

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.