Re: Send message on pharo open/close?
Posted by
Paul DeBruicker on
Feb 19, 2015; 8:10pm
URL: https://forum.world.st/Send-message-on-pharo-open-close-tp4806562p4806565.html
use #startUp: and #shutDown: on the class side of your class.
check implementors of those methods for examples.
David Carlos Manuelda wrote
I need for my application to register its main class somehow, that pharo
will send a message (class side) to it whenever image is started/finished,
for example, to reconfigure database connections as they get invalid when
image closes and opens again.
Is there any hook for pharo to be able to send a message to my class on
image open and close?
Thanks.