<!--
The BootstrappedApplication ADL is an helper to easily bootstrap an UNIX
application. It takes as argument the name of the ADL of the application
component which is bound to the unix bootstrap component.
This application component *must* have a server interface of type
"boot.api.Main" and whose name is "main".
-->
<definition name="unix.boot.BootstrappedApplication"
arguments="applicationADL">
<component name="application" definition="${applicationADL}">
<interface name="main" role="server" signature="boot.api.Main" />
</component>
<component name="bootstrap" definition="unix.boot.Bootstrap" />
<binding client="bootstrap.main" server="application.main" />
<binding client="bootstrap.lcc" server="application.lifecycle-controller" />
</definition>