avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: managing applications
Date Wed, 06 Mar 2002 08:24:24 GMT
On Tue, 5 Mar 2002 23:48, Leo Simons wrote:
> Have modified ApplicationMbean and made
> DefaultApplication implement it. Modified
> DefaultKernel so it (un)exports
> created DefaultApplications through
> SystemManager.

kool.

> 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.

In this case I believe it is the responsibility of the Block to kill the 
connection - I usually do it in dispose.

> Or should there be
> more intelligence in DefaultApplication
> to avoid problems like aforementioned?

Got any ideas on how we would do this?


-- 
Cheers,

Pete

*------------------------------------------------------*
| Despite your efforts to be a romantic hero, you will |
| gradually evolve into a postmodern plot device.      |
*------------------------------------------------------*

--
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