March 15, 2008

Java ServiceLoader - java.util.ServiceLoader S

A lesser known Java SE 6 feature is java.util.ServiceLoader class. ServiceLoader is a general factory that can be configured in a standardized way. You may think of it as clever mechanism in the way that we could add new services by simply loading the correct class…at runtime.

You can visit http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html for more information.