Package org.kie.api.runtime.manager
Interface RuntimeEnvironment
- 
 public interface RuntimeEnvironmentDefinition of the runtime environment that will be used by instance ofRuntimeManager.RuntimeEnvironmentdelivers all information to the runtime manager to be able to properly configure and bootstrap the manager and then runtime engine instances.
 It shall be considered as template of the configuration used by the manager that is read only and shall not be changed onceRuntimeManagerhas been created.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the environment allowing to close all depending components such as ksession factories, etcClassLoadergetClassLoader()KieSessionConfigurationgetConfiguration()EnvironmentgetEnvironment()KieBasegetKieBase()RegisterableItemsFactorygetRegisterableItemsFactory()UserGroupCallbackgetUserGroupCallback()UserInfogetUserInfo()booleanusePersistence()
 
- 
- 
- 
Method Detail- 
getKieBaseKieBase getKieBase() - Returns:
- KieBasethat shall be used by the manager
 
 - 
getEnvironmentEnvironment getEnvironment() - Returns:
- environment that shall be used to create instances of KieSession
 
 - 
getConfigurationKieSessionConfiguration getConfiguration() - Returns:
- KieSession configuration that shall be used to create instances of KieSession
 
 - 
usePersistenceboolean usePersistence() - Returns:
- indicates if persistence shall be used for the KieSession instances
 
 - 
getRegisterableItemsFactoryRegisterableItemsFactory getRegisterableItemsFactory() - Returns:
- concrete implementation of RegisterableItemsFactoryto obtain handlers and listeners that shall be registered on instances ofKieSession
 
 - 
getUserGroupCallbackUserGroupCallback getUserGroupCallback() - Returns:
- concrete implementation of UserGroupCallbackthat shall be registered on instances ofTaskServicefor managing users and groups.
 
 - 
getUserInfoUserInfo getUserInfo() - Returns:
- concrete implementation of UserInfothat shall be registered on instances ofTaskServicefor managing user info.
 
 - 
getClassLoaderClassLoader getClassLoader() - Returns:
- custom class loader that shall be used by the process engine and task service instances
 
 - 
closevoid close() Closes the environment allowing to close all depending components such as ksession factories, etc
 
- 
 
-