Thanks for the answer. If I understood you correctly, that would imply that all resettable classes have a reset method?
I guess one can't solve it in another way. Not even sure you can touch the singleton instance reference so that it propagates to another object that depends on it. On May 24, 4:45 pm, Uwe Schäfer <[email protected]> wrote: > [email protected] schrieb: > > > I have a bunch of singletons that should be singletons until the user > > chose to reload parts of the application. Then I have to reset a few > > objects to get a clean state. > > I´d use providers that register at a central (maybe singleton) manager, > that propagates the 'reset' action to them. > > cu uwe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
