New guice-multiscopes extension

35 views
Skip to first unread message

Daniel Murphy

unread,
May 9, 2012, 8:45:30 PM5/9/12
to google...@googlegroups.com
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, 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 or javadocs.  Hopefully this will be useful for others, we think it definitely lowers the curve for using custom scopes.

- Daniel Murphy and Deanna Surma
Reply all
Reply to author
Forward
0 new messages