public void addToUDFLoaders(ClassLoader loader) {
    lock.lock();
    try {
      mSessionUDFLoaders.add(loader);
    } finally {
      lock.unlock();
    }
  }
Unregisters all the functions belonging to the specified database
@param dbName database name
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java