View Source espace_sup (espace v0.9.0)
Main espace application supervisor. It handles the main application components.
There are three child components, all are gen_server
s. Two are the main application servers, and the third is the etsmgr
application in embedded mode, i.e. there is no separate etsmgr
application. We also make sure that etsmgr_srv
is the first child to be started as the other two servers depend on this server.
restart => permanent,
shutdown => 5000,
type => worker
Summary
Functions
Starts the main supervisor.
Functions
-spec start_link(atom()) -> supervisor:startlink_ret().
Starts the main supervisor.
We expect an espace instance name, which will uniquely identify all the components of the application.