Hello,
While working on various projects, I came across the need to have
multi-instance scopes, similar to the 'session' servlet scope, but with
more flexibility with how I can control entering and exiting the scope. So
we made guice-multiscopes <http://code.google.com/p/guice-multiscopes/>, an
unofficial guice extension which provides an easy way to create and manage
multi-instance scopes.
We just released the first version, our current features are:
- Multiple scope instances for each scope
- Multithreaded scope access
- Customizable scope storage
- Prescoping and prescope providers
As we continue to work with multiscopes we plan on adding the following
features:
- Automated scope 'holders'
- Hierarchy support
- Facade for binding prescoped object
- Predefined multiscope instances
- Binding annotation to scope instance
- Objects bound with that annotation are bound to in that specific
scope instance
For more information you can check out the
wiki<http://code.google.com/p/guice-multiscopes/w/list>or
javadocs <http://www.protobee.org/docs/guice-multiscope/0.1/>. Hopefully
this will be useful for others, we think it definitely lowers the curve for
using custom scopes.
- Daniel Murphy and Deanna Surma
--
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-guice/-/EAvDfAvR2LsJ.
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.