[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7319) ServiceContributingIntegrator do not have access to the configuration and cannot adjust service registration accordingly
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Sat May 12 06:27:12 EDT 2012
ServiceContributingIntegrator do not have access to the configuration and cannot adjust service registration accordingly
------------------------------------------------------------------------------------------------------------------------
Key: HHH-7319
URL: https://hibernate.onjira.com/browse/HHH-7319
Project: Hibernate ORM
Issue Type: Improvement
Reporter: Emmanuel Bernard
In Hibernate OGM, I don't want to set my custom service initiators unless I know it is explicitly being used.
I cannot do that today because ServiceContributingIntegrator does not have access to the configuration.
I had to write all my service initiators so that they look at the configuration and delegate to the "default" service initiator. That's a lot of redundant code. I wonder if we can do better.
See https://github.com/hibernate/hibernate-ogm/blob/master/hibernate-ogm-core/src/main/java/org/hibernate/ogm/service/impl/OgmIntegrator.java
--
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