I probably would have used a method name like dispose() or shutdown() or
destroy() rather than registryDidShutdown() if you want to stress the
importance of removing a dependency (the "registry" part screams HiveMind).
But, your concern is a valid one.  We have support for init methods, but not
destroy/shutdown methods.

-----Original Message-----
From: Johan Lindquist [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 05, 2006 12:09 PM
To: hivemind-dev@jakarta.apache.org
Subject: Registry shutdown

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Is there a particular reason for the RegistryShutdownListener interface?
 Could this not be implemented just as the automagic initialization call
of the service?  If a method on the implementation is named
'registryDidShutdown', add it automatically to the list of shutdown
listeners?  Would nicely remove another compile time dependancy.

Cheers,

Johan

- --
you too?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDvVKf1Tv8wj7aQ34RAr9kAJ9fjHL8V50GVHca2dlGk6/E/w6y7wCePsGd
8s1B3mUnlPJUhixvCM65bVc=
=c6VH
-----END PGP SIGNATURE-----

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



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

Reply via email to