Samples JDK
MyCepEngine.java
1 package com.freemindcafe.designpatterns.serviceloader;
2 
3 public class MyCepEngine implements ICepEngine {
4 
5  @Override
6  public void echo() {
7  System.out.println("MyCepEngine");
8  }
9 
10 }