[hibernate-dev] HHH-5562, services and eventlisteners

Steve Ebersole steve at hibernate.org
Wed Feb 9 10:29:52 EST 2011


The general idea in that JIRA is discovery of "something".  The JIRA initially 
discussed discovery as a means for automatic listener registration.  I want to 
expand that to cover services as well. 

The question was really just whether anyone see a need for these to be 
different processes.  Or whether one "discovery contract" (that could handle 
listeners and/or services) would suffice.

On Wednesday, February 09, 2011, at 12:55 am, Adam Warski wrote:
> Do you have in mind the process of discovery (that services would also be
> discovered via META-INF/services, like event listeners), or that the event
> listener registry should just be another Hibernate service?
> 
> Adam
> 
> On Feb 8, 2011, at 6:49 PM, Steve Ebersole wrote:
> > http://opensource.atlassian.com/projects/hibernate/browse/HHH-5562
> > discusses applying the principle of a "service locator pattern" to event
> > listener registration from integrators.  There has also been discussions
> > about applying the same principles to services as they will be defined
> > in Hibernate 4[1]. Personally I am leaning towards combining these into
> > a single mechanism where the LocatedThing could do either (or both). 
> > Looking to see if anyone has specific use cases where that will not
> > work, requiring the split.
> > 
> > 
> > [1]
> > https://sourceforge.net/apps/mediawiki/hibernate/index.php?title=Category
> > :Services
> > 
> > 
> > ---
> > Steve Ebersole <steve at hibernate.org>
> > http://hibernate.org
> > _______________________________________________
> > hibernate-dev mailing list
> > hibernate-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev

---
Steve Ebersole <steve at hibernate.org>
http://hibernate.org



More information about the hibernate-dev mailing list