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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
