| 88 | } |
| 89 | |
| 90 | void FlowController::initializeExternalComponents() { |
| 91 | auto jvmCreator = core::ClassLoader::getDefaultClassLoader().instantiate("JVMCreator", "JVMCreator"); |
| 92 | if (nullptr != jvmCreator) { |
| 93 | logger_->log_debug("JVMCreator loaded..."); |
| 94 | jvmCreator->configure(configuration_); |
| 95 | } |
| 96 | |
| 97 | auto pythoncreator = core::ClassLoader::getDefaultClassLoader().instantiate("PythonCreator", "PythonCreator"); |
| 98 | if (nullptr != pythoncreator) { |
| 99 | logger_->log_debug("PythonCreator loaded..."); |
| 100 | pythoncreator->configure(configuration_); |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | utils::optional<std::chrono::milliseconds> FlowController::loadShutdownTimeoutFromConfiguration() { |
| 105 | std::string shutdown_timeout_str; |
nothing calls this directly
no test coverage detected