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

2011-02-08 Thread Max Rydahl Andersen
On Feb 9, 2011, at 07:55, 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? If that happens I hope we will hav

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

2011-02-08 Thread Adam Warski
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.

Re: [hibernate-dev] HV-376

2011-02-08 Thread Gunnar Morling
Alright I'll implement it like that then, the API is already changed as proposed ( https://github.com/gunnarmorling/hibernate-validator/blob/dcabe3141ae1c3aa07fdc2745a135e19a8188553/hibernate-validator/src/main/java/org/hibernate/validator/method/metadata/TypeDescriptor.java ) > > For HV 4.2 we

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

2011-02-08 Thread Steve Ebersole
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

Re: [hibernate-dev] HV-376

2011-02-08 Thread Emmanuel Bernard
On 8 févr. 2011, at 12:01, Hardy Ferentschik wrote: > On Tue, 08 Feb 2011 10:21:40 +0100, Emmanuel Bernard > wrote: > >> Let me summarize: >> - BD extends TD >> - BD#getConstrainedMethod() returns constraints getters and methods (*) >> - BD#isBeanConstrained() does not change contract >> >> (

Re: [hibernate-dev] HV-376

2011-02-08 Thread Hardy Ferentschik
On Tue, 08 Feb 2011 10:21:40 +0100, Emmanuel Bernard wrote: > Let me summarize: > - BD extends TD > - BD#getConstrainedMethod() returns constraints getters and methods (*) > - BD#isBeanConstrained() does not change contract > > (*) it's the logical approach but I feel like it might be inconv

Re: [hibernate-dev] HV-376

2011-02-08 Thread Emmanuel Bernard
On 8 févr. 2011, at 09:20, Gunnar Morling wrote: > > 2011/2/7 Emmanuel Bernard > Hi, > > On 6 févr. 2011, at 20:57, Gunnar Morling wrote: > >> >> one other issue we might/should deliver for Beta2 is >> http://opensource.atlassian.com/projects/hibernate/browse/HV-371 ("Support >> method-leve

Re: [hibernate-dev] HV-376

2011-02-08 Thread Gunnar Morling
Answers inline. Gunnar 2011/2/7 Emmanuel Bernard > Hi, > > On 6 févr. 2011, at 20:57, Gunnar Morling wrote: > > > one other issue we might/should deliver for Beta2 is > http://opensource.atlassian.com/projects/hibernate/browse/HV-371 ("Support > method-level constraints in meta-data API"), at