code: public static Clock getClockImpl() {
          Clock c = null;
          try {
               DiscoverClass dc = new DiscoverClass();
               c = (Clock) dc.newInstance(
               Clock.class,
               Clock.DEFAULT_CLOCK_IMPL);
          } catch (Exception ex) {
               // ignore as default implementation will be used.
          }
          return c;
      }
docs: <p>Returns the Clock implementation using commons discovery.</p>
  
  @return the Clock implementation using commons discovery.