void confirmAdapterAvailable(Object o){
  String adapter=adapterName(o);
  log.debug("register {} adapter {}",o,adapter);
  if (adapter != null) {
    try {
      Class.forName(adapter);
    }
 catch (    ClassNotFoundException ex) {
      locateClassFailed(ex,adapter,o);
    }
catch (    NoClassDefFoundError ex) {
      locateClassFailed(ex,adapter,o);
    }
  }
}

void confirmAdapterAvailable ( Object o ) { String adapter = adapterName ( o ) ; log . debug ( "register {} adapter {}" , o , adapter ) ; if ( adapter != null ) { try { Class . forName ( adapter ) ; } catch ( ClassNotFoundException ex ) { locateClassFailed ( ex , adapter , o ) ; } catch ( NoClassDefFoundError ex ) { locateClassFailed ( ex , adapter , o ) ; } } }
common check routine to confirm an adapter is available as part of registration process . < p > note : should only be called for debugging purposes , e . g . when log4j debug level is selected , to load fewer classes at startup .
