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()
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
|
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.ClassLoader getClassLoader()
void close()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.