Package com.framed.orchestrator
Class Main
java.lang.Object
com.framed.orchestrator.Main
Config-driven launcher for a FRAMED deployment.
On startup it reads config/services.json and config/communication.json,
builds the Transport and SocketEventBus described by the communication
config, connects any configured peers, then instantiates the configured services
(dispatchers, devices, writers, parsers and reactors) via the Manager. After
instantiation it runs all registered deployment validators, installs a shutdown hook to
stop the event bus and managed services cleanly, and blocks the main thread until the
process is terminated.
-
Method Summary
-
Method Details
-
main
Loads the configuration, builds the runtime, instantiates services and blocks until shutdown.- Parameters:
args- command-line arguments (currently unused)- Throws:
IOException- if the configuration files cannot be read
-
