}
public static void setLockProvider( String lockProviderName ){
LockProvider delegate;
if( lockProviderName == null ){
delegate = new MemoryLockProvider();
} else {
Object provider = GeoServerExtensions.bean(lockProviderName);
if( provider == null ){
throw new IllegalStateException("Could not find "+lockProviderName+" lock provider in spring application context");
}