[hibernate-dev] Integrator locator

Adam Warski adam at warski.org
Thu Mar 31 04:51:05 EDT 2011


On Mar 30, 2011, at 8:46 PM, Steve Ebersole wrote:

> To be honest not sure what this really buys you.  Basically you have to follow 
> the META-INF/service/{intf-name} pattern for naming your locator file and that 
> locator file, as far as I know, can only have a single entry naming the impl 
> class.  Which is kind of limiting.  What concrete benefits do you actually get 
> then?  The actual resolution code is trivial.


Well, just that when users (programmers) see such a file there's a higher chance that they know what it's doing and how is the services discovery working.
Apart from that, can't think of anything :)

-- 
Adam Warski
http://www.warski.org
http://www.softwaremill.eu








More information about the hibernate-dev mailing list