Issue 253: new feature - search packages for objects to instantiate
http://code.google.com/p/google-guice/issues/detail?id=253

New issue report by james.strachan:
Spring supports this with @Component/@Service annotations as does Stripes  
and it can be quite
handy.

Basically in a module it'd be handy to just declare the packages to scan  
for classes which are
annotated with some annotation (say @Service) and they'll be automatically  
added to the module
binder without the developer having to edit the code for the module every  
time a new service is
created. i.e. service objects can declare themselves as being bindable by  
using an annotation and
being in the right package.

Admittedly, this isn't that hard for an end user to create for themselves;  
but I figured it'd be a
handy feature to include out of the box.




Issue attributes:
        Status: New
        Owner: ----
        Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to