337338339340341342343344345346347
return factory; } private Lock createLock() { if (!config.useLock) { return new NoLock(); } try { return (Lock) Lock.class.getClassLoader().loadClass(config.lockClass).getConstructor(Properties.class).newInstance(config.props); } catch (Exception e) { if (e instanceof InvocationTargetException){
336337338339340341342343344345346
289290291292293294295296297298299
374375376377378379380381382383384