[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5682) Modify service infrastructure to leverage CDI annotations

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Oct 20 07:04:47 EDT 2010


Modify service infrastructure to leverage CDI annotations
---------------------------------------------------------

                 Key: HHH-5682
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5682
             Project: Hibernate Core
          Issue Type: Task
          Components: core
            Reporter: Steve Ebersole
             Fix For: 4.0.0.Alpha1


Specific annotations to look at:
@Inject
@Alternative
@Produces
@Disposes

Also need to investigate the following requirements not really covered in CDI:
# Services are always "named" by the {{service role}} they fulfill.  All {{service implementors}} (the class) are simply @Alternative impls of that {{service role}} contract.  How to express this in CDI (the {{service role}} == name part)?
# Optional dependency
## Custom CDI qualifier
## CDI {{Instance<T>}}
## {{ServiceRegistryAware}} (though TBH, perhaps that should even be a normal injection)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list