I am continuing the work on plugins.  The plugin knows what repository it is
attached to, but the repository does not know about the plugin.  An issue
with this is that when the repository is shutdown, then the plugin should be
informed so that it too can shutdown.  One way for the plugin to be informed
of the repository shutdown is to register a HierarchyEventListener with the
repository via the LoggerRepository.addHierarchyEventListener() method?  Is
this the right way to approach it?  If so, I will need to add some new
methods to the HierarchyEventListener interface, specifically
shutdownEvent().  The Hierarchy class will also need to be modified to call
this new method on registered listeners when shutting down.  Currently
existing classes that implement HierarchyEventListener will also be
affected, since they will not have the new methods implemented.

advice or suggestions?

-Mark


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to