Package org.kie.kogito
Class StaticApplication
java.lang.Object
org.kie.kogito.StaticApplication
- All Implemented Interfaces:
Application
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStaticApplication(Config config, Iterable<KogitoEngine> engines) StaticApplication(Config config, KogitoEngine... engines) -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns configuration of the application<T extends KogitoEngine>
TReturns the desired KogitoEngine impl or null if not foundprotected voidloadEngine(KogitoEngine engine) protected voidloadEngines(KogitoEngine... engines) protected voidReturns unit of work manager that allows to control execution within the application
-
Field Details
-
config
-
-
Constructor Details
-
StaticApplication
public StaticApplication() -
StaticApplication
-
StaticApplication
-
-
Method Details
-
config
Description copied from interface:ApplicationReturns configuration of the application- Specified by:
configin interfaceApplication- Returns:
- current configuration
-
get
Description copied from interface:ApplicationReturns the desired KogitoEngine impl or null if not found- Specified by:
getin interfaceApplication- Parameters:
clazz- of the desired KogitoEngine- Returns:
-
loadEngines
-
loadEngine
-
setConfig
-
unitOfWorkManager
Description copied from interface:ApplicationReturns unit of work manager that allows to control execution within the application- Specified by:
unitOfWorkManagerin interfaceApplication- Returns:
- non null unit of work manager
-