|
KIE API 6.0.1.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuntimeEnvironment
Definition of the runtime environment that will be used by instance of RuntimeManager
.
RuntimeEnvironment
delivers 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 once RuntimeManager
has been created.
Method Summary | |
---|---|
void |
close()
Closes the environment allowing to close all depending components such as ksession factories, etc |
ClassLoader |
getClassLoader()
Delivers custom class loader that shall be used by the process engine and task service instances |
KieSessionConfiguration |
getConfiguration()
KieSession configuration that shall be used to create instances of KieSession |
Environment |
getEnvironment()
KieSession environment that shall be used to create instances of KieSession |
KieBase |
getKieBase()
Returns KieBase that shall be used by the manager |
RegisterableItemsFactory |
getRegisterableItemsFactory()
Delivers concrete implementation of RegisterableItemsFactory to obtain handlers and listeners
that shall be registered on instances of KieSession |
UserGroupCallback |
getUserGroupCallback()
Delivers concrete implementation of UserGroupCallback that shall be registered on instances
of TaskService for managing users and groups. |
boolean |
usePersistence()
Indicates if persistence shall be used for the KieSession instances |
Method Detail |
---|
KieBase getKieBase()
KieBase
that shall be used by the manager
Environment 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.
ClassLoader getClassLoader()
void close()
|
KIE API 6.0.1.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |