Hi guys,

I'm new to Guice,  and I want to apply guice in my future project. so I 
must be a master of it.

there're some spi interface and class can be used to extend.

when I consult *com.google.inject.spi.TypeListener*, I can't understood 
when I can use this type. the interface has one method 
*<I> void hear(TypeLiteral<I> type, TypeEncounter<I> encounter);*
the java docs say, 
*Listens for Guice to encounter injectable types. If a given type has its 
constructor injected in one situation but only its methods and fields 
injected in another, Guice will notify this listener once.*
*Useful for extra type checking, registering injection listeners, and 
binding method interceptors.*
*
*
it's be kindly anyone who can give me an sample about how to use it, and 
explain how the guice process this type.

thanks,

Eone.

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to