Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The StartupCommand has
somewhat unique responsibilities. At the time it is run, none of the
Proxys or Mediators have yet been registered, so we
will register them, preparing the Model with its Proxys before preparing the View with its Mediators. The order is important because
Mediators that form relationships
with Proxys often do so by
retrieving them in onRegister(),
thus the Proxys should already be
available at that time.
Extend SimpleCommand
Implement the common phases of the startup process
Register all our AbstractProxy subclasses, in the
proper order so that their constructor-enforced
interdependencies can be served