How can i get the scope of a binding?

1 view
Skip to first unread message

askxu...@gmail.com

unread,
Oct 2, 2007, 8:24:36 PM10/2/07
to google-guice
Hi,
my servlet holds a guice injector instance and want to find out all
singleton beans, i can find all keys and binings by
Injector.getBindings(), but these is no way to get the scope of beans.
the Provider only has a get() to return an instance but no scope
information. thx!

Bob Lee

unread,
Oct 2, 2007, 8:28:14 PM10/2/07
to google...@googlegroups.com
This is coming in version 2 and is actually already in svn.

Bob

askxu...@gmail.com

unread,
Oct 9, 2007, 8:22:41 PM10/9/07
to google-guice
thanks! hopes version 2 coming soon

On 10月3日, 上午8时28分, "Bob Lee" <crazy...@crazybob.org> wrote:
> This is coming in version 2 and is actually already in svn.
>
> Bob
>

> On 10/2/07, askxuef...@gmail.com <askxuef...@gmail.com> wrote:
>
>
>
>
>
> > Hi,
> > my servlet holds a guice injector instance and want to find out all
> > singleton beans, i can find all keys and binings by
> > Injector.getBindings(), but these is no way to get the scope of beans.
> > the Provider only has a get() to return an instance but no scope

> > information. thx!- 隐藏被引用文字 -
>
> - 显示引用的文字 -

Reply all
Reply to author
Forward
0 new messages