avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Simons" <m...@leosimons.com>
Subject managing applications
Date Tue, 05 Mar 2002 12:48:38 GMT
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:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message