The station commandline handler provides support for the startup and shutdown of the station as a background process, the addition, modification and removal of application profiles, and the starting, stopping and restarting of applications under dedicated virtual machines. In a production environment the station would normally be setup as a background service (e.g. on Windows resources are provided for the deployment of the Station as an NT service). During station startup any application profile declaring a AUTOMATIC startup policy will be deployed. Applications register themselves with the station following which subsequent management operations invoked by the Station CLI are mediated through the station server process.
$ station startup | add <key> | set <key> | start <key> | control <key> | stop <key> | restart <key> | info <key> | remove <key> | shutdown | help
startup | Start the station server (implying starup of all applications with an AUTOMATIC startup policy). |
add | Add a new application profile to the station registry. |
set | Set of feature of an application. |
start | Start an application. |
control | Manage the component. |
stop | Stop an application. |
restart | Restart an application. |
info | List information about registered applications. |
remove | Remove an application from the registry. |
shutdown | Shutdown the station (implying shutdown of all applications under the control of the station). |
$ station help
Usage: station startup | add <key> | set <key> | start <key> | control <key> | stop <key> | restart <key> | info <key> | remove <key> | shutdown | help options startup Startup the station. -port -registry -port <port> RMI Registry port. -registry <artifact> Application registry store. -D<property>=<value> Set property values. add <key> Add a profile. -uri -policy -dir -title -registry -startup -shutdown -config -uri <artifact> Codebase uri. -policy <policy> Startup policy. -D<property>=<value> Set property values. -dir (-basedir) <path> Base directory. -title <title> Application title. -registry <artifact> Application registry store. -startup <seconds> Startup timeout. -shutdown <seconds> Shutdown timeout. -config <uri> Application configuration. set <key> Set an application feature. -uri -policy -dir -title -registry -startup -shutdown -config -uri <artifact> Codebase uri. -policy <policy> Startup policy. -D<property>=<value> Set property values. -dir (-basedir) <path> Base directory. -title <title> Application title. -registry <artifact> Application registry store. -startup <seconds> Startup timeout. -shutdown <seconds> Shutdown timeout. -config <uri> Application configuration. start <key> Start application. control <key> Manage the application. stop <key> Stop application. restart <key> Restart application. info <key> Station or profile info. -port|-registry -port <port> RMI Registry port. -registry <artifact> Application registry store. remove <key> Remove profile. -port|-registry -port <port> RMI Registry port. -registry <artifact> Application registry store. shutdown Shutdown the station. help Print command help.