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. -- View this message in context: http://forum.world.st/Send-message-on-pharo-open-close-tp4806562p4806565.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.