title: ServiceLoader to find implementations of an interface
body: <p>I tried to use the Java <a href="http://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html" rel="noreferrer">ServiceLoader</a> to find all classes that implement a specific interface like so:</p>
  
  <pre><code>loader = ServiceLoader.load(Operation.class);
  try {
      for (Operation o : loader) {
          operations.add(o);
      }
  } catch (ServiceConfigurationError e) {
      LOGGER.log(Level.SEVERE, "Uncaught exception", e);
  }
  </code></pre>
  
  <p>Unfortunately, when I run Eclipse in debug mode the ServiceLoader doesn't find any classes. I feel like I'm missing a trivial point...</p>