[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6640) Add ability for Integrator to prepare ServiceRegistryBuilder and MetadataImplementor as part of lifecycle

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Sep 7 13:42:02 EDT 2011


Add ability for Integrator to prepare ServiceRegistryBuilder and MetadataImplementor as part of lifecycle
---------------------------------------------------------------------------------------------------------

                 Key: HHH-6640
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6640
             Project: Hibernate Core
          Issue Type: Improvement
            Reporter: Steve Ebersole
            Assignee: Steve Ebersole


2 new, related capabilities:
# The ability for an {{org.hibernate.integrator.spi.Integrator}} to prepare the {{org.hibernate.service.ServiceRegistryBuilder}}.  The general idea here is to allow the {{org.hibernate.integrator.spi.Integrator}} to add both prepared services ({{org.hibernate.service.ServiceRegistryBuilder#addService}}) and ({{org.hibernate.service.ServiceRegistryBuilder#addInitiator}}).  An additional use case could be to define alternate default settings via {{#applySetting}}, {{#applySettings}} and {{#configure}}.  This call will most likely occur from the {{org.hibernate.service.ServiceRegistryBuilder}} constructor.
# The ability to prepare Metadata.  One example is overriding {{Type}} registrations.

Both of these are "baselining" capabilities, meaning that they are defining baselines which explicit user calls, user supplied metadata, etc might override any work done here.

See the following 2 IRC discussions for origins/thoughts:
# http://transcripts.jboss.org/channel/irc.freenode.org/%23hibernate-dev/2011/%23hibernate-dev.2011-07-28.log.html
# http://transcripts.jboss.org/channel/irc.freenode.org/%23hibernate-dev/2011/%23hibernate-dev.2011-09-07.log.html

--
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