Have modified ApplicationMbean and made
DefaultApplication implement it. Modified
DefaultKernel so it (un)exports
created DefaultApplications through
SystemManager.

Saw some problems while testing.

FA, XcommanderServer (a Block) binds a
port. As it doesn't implement stoppable,
calling stop() on the Application doesn't
unbind the port (this is left to gc, I
guess). Thus, calling restart() on the
Application results in an error.

Should Block (like Application) extend
Startable & Stoppable? Or should there be
more intelligence in DefaultApplication
to avoid problems like aforementioned?

cheers,

- Leo

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

Reply via email to