Re: [hibernate-dev] Usage of the Service pattern in Hibernate Search

2015-03-23 Thread Hardy Ferentschik
Hi, On Sat, Mar 21, 2015 at 10:55:58AM -0500, Steve Ebersole wrote: > For me its a matter of consistency. Put simply a Service comes from a > ServiceRegistry. That's consistent. This idea that some particular > Service might come from here or there or this other place is not > consistent. To m

Re: [hibernate-dev] Usage of the Service pattern in Hibernate Search

2015-03-21 Thread Steve Ebersole
For me its a matter of consistency. Put simply a Service comes from a ServiceRegistry. That's consistent. This idea that some particular Service might come from here or there or this other place is not consistent. To me. Now, I understand that there is likely a performance impact to this (Map

[hibernate-dev] Usage of the Service pattern in Hibernate Search

2015-03-19 Thread Sanne Grinovero
Looks like the ServiceRegistry pattern is getting quite popular in Hibernate Search. There are three default implementations (of three services) which are provided by the hibernate-search-engine itself. Essentially the hibernate-search-engine code looks it up, and loads from its very same jar; I'm