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 _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev