Hi, Moandji!

> So does that mean that whenever Disposer#dispose() isĀ invoked, all @Dispose
> methods are called?
>

Yes, ATM

> If so, it might be nice to have Dispose#dispose(RequestScoped.class). I
> guess the DisposeModule would have to track the scope of classes containing
> @Dispose methods. I don't know if that's possible.

That is really interesting, I'll try to implement it during the week:

dispose(): invokes all @Dispose methods indiscriminately
dispose( com.google.inject.Scope scope ): invokes @Dispose methods of
input scope scoped objects

 I'll let you know the progress of that!
All the best,
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

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

Reply via email to