public interface RuntimeEnvironment
RuntimeManager
.
RuntimeEnvironment
delivers all information to the runtime manager to be able to properly
configure and bootstrap the manager and then runtime engine instances.RuntimeManager
has been created.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the environment allowing to close all depending components such as ksession factories, etc
|
ClassLoader |
getClassLoader() |
KieSessionConfiguration |
getConfiguration() |
Environment |
getEnvironment() |
KieBase |
getKieBase() |
RegisterableItemsFactory |
getRegisterableItemsFactory() |
UserGroupCallback |
getUserGroupCallback() |
UserInfo |
getUserInfo() |
boolean |
usePersistence() |
KieBase getKieBase()
KieBase
that shall be used by the managerEnvironment getEnvironment()
KieSession
KieSessionConfiguration getConfiguration()
KieSession
boolean usePersistence()
RegisterableItemsFactory getRegisterableItemsFactory()
RegisterableItemsFactory
to obtain handlers and listeners
that shall be registered on instances of KieSession
UserGroupCallback getUserGroupCallback()
UserGroupCallback
that shall be registered on instances
of TaskService
for managing users and groups.UserInfo getUserInfo()
UserInfo
that shall be registered on instances
of TaskService
for managing user info.ClassLoader getClassLoader()
void close()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.