How to detect extension reload
Posted: 08 Nov 2011, 10:51
Hi all!
Does anybody know how to detect reloading of a room extension in the zone extension? I create several dynamic rooms in my zone extension, each with its own extension. When I reload an extension in Admin Tool, it gets reloaded properly, but my zone extension is not aware of this reload, therefore it doesn't update pointers to extensions.
Searching through documentation I didn't find any event that would be triggered on ext reload. So is there any other way to come around this issue? I was thinking that on room extension init I would obtain pointer to the zone extension and inform it via handleInternalRequest method of this reload. I guess it would work, but is there any other, preferrably "cleaner" method to do this?
Does anybody know how to detect reloading of a room extension in the zone extension? I create several dynamic rooms in my zone extension, each with its own extension. When I reload an extension in Admin Tool, it gets reloaded properly, but my zone extension is not aware of this reload, therefore it doesn't update pointers to extensions.
Searching through documentation I didn't find any event that would be triggered on ext reload. So is there any other way to come around this issue? I was thinking that on room extension init I would obtain pointer to the zone extension and inform it via handleInternalRequest method of this reload. I guess it would work, but is there any other, preferrably "cleaner" method to do this?