« Return to Thread: Shouldn't a realm be disposed when unselecting it

Re: Shouldn't a realm be disposed when unselecting it

by Anders Hammar :: Rate this Message:

Reply to Author | View in Thread

Btw, I'm using Nexus 1.3.1.

/Anders

On Tue, Mar 31, 2009 at 14:42, Anders Hammar <anders@...> wrote:

> Hi,
>
> I have a realm that implements Initializable and Disposable. When then
> realm isn't selected at startup (in the Nexus conf), its initialize()
> method isn't called. When selecting it (in runtime), it is called. So,
> when de-selecting it I expected its dispose() method to be called (in
> runtime), but it isn't.
> Is this a bug or intended behavior? If intended behavior, how can I
> tell if a realm is currently selected or not?
>
> /Anders
>

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...

 « Return to Thread: Shouldn't a realm be disposed when unselecting it