private static String getKunderaClientToLookupClass ( String client ) { Datasource datasource ; try { datasource = Datasource . valueOf ( client . toUpperCase ( ) ) ; } catch ( IllegalArgumentException ex ) { LOGGER . error ( client + " is not supported!" , ex ) ; throw new KunderaException ( client + " is not supported!" , ex ) ; } return clientNameToFactoryMap . get ( datasource ) ; }
Gets the kundera client to lookup class .