[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7170) Consider ways to have ServiceRegistry available to org.hibernate.service.spi.Configurable#configure calls

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Mar 13 15:28:49 EDT 2012


Consider ways to have ServiceRegistry available to org.hibernate.service.spi.Configurable#configure calls
---------------------------------------------------------------------------------------------------------

                 Key: HHH-7170
                 URL: https://hibernate.onjira.com/browse/HHH-7170
             Project: Hibernate ORM
          Issue Type: Improvement
          Components: build, documentation
            Reporter: Steve Ebersole
            Assignee: Steve Ebersole


A lot of uses of org.hibernate.service.spi.Configurable#configure require access to ServiceRegistry only during the processing of that configure call.  The only current approach is to have inject either the needed services or the registry itself as instance state.  Would be nice to either 

* alter that contract to add ServiceRegistry as a param, or
*  add a new alternate contract ({{ImprovedConfigurable}}?)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list