tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/11-do-you-need-to-fire-contexteventstart_up-and-contexteventshutdownRobotlegs: Discussion 2018-10-18T16:35:06Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/6360552009-11-25T18:53:19Z2009-11-25T18:53:19ZDo you need to fire ContextEvent.START_UP and ContextEvent.SHUTDOWN ?<div><p>No. They are just for convenience. I use them when bootstrapping
via<br>
commands.</p></div>Joel Hookstag:robotlegs.tenderapp.com,2009-10-18:Comment/6360552009-11-25T18:54:03Z2009-11-25T18:54:03ZDo you need to fire ContextEvent.START_UP and ContextEvent.SHUTDOWN ?<div><p>Indeed, the events are purely for convenience; not needed at
all. They<br>
are just there to support a modular workflow out-of-the-box:
using<br>
those 4 constants you can effectively manage modular contexts from
the<br>
outside. To close a module down you might fire off a SHUTDOWN event
on<br>
it's dispatcher, that module might ask the user to confirm the
action,<br>
clean itself up, and fire off the SHUTDOWN_COMPLETE event which
your<br>
shell might be listening for.</p></div>Shaun Smithtag:robotlegs.tenderapp.com,2009-10-18:Comment/6360552009-11-25T18:58:22Z2009-11-25T18:58:22ZDo you need to fire ContextEvent.START_UP and ContextEvent.SHUTDOWN ?<div><p>Thanks a bunch. That is what I figured but I wanted to be
sure.<br></p></div>levi.strope