* @param lockProviderName
*/
private void updateLockProvider(String lockProviderName) {
LockProvider delegate = null;
if(lockProviderName == null) {
delegate = new MemoryLockProvider();
} else {
Object provider = GeoWebCacheExtensions.bean(lockProviderName);
if(provider == null) {
throw new RuntimeException("Could not find lock provider " + lockProvider
+ " in the spring application context");