public Object postProcessBeforeInitialization(Object bean, String beanName)
     throws BeansException {
   if (loader != null) {
     return loader.postProcessBeforeInitialization(bean, beanName);
   }
   return bean;
 }
 public void destroy() throws Exception {
   if (loader != null) {
     loader.destroy();
   }
 }
 public void reload() throws Exception {
   if (loader != null) {
     loader.reload();
   }
 }
 public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
   this.loader = lookupGeoServerLoader(applicationContext);
   loader.setApplicationContext(applicationContext);
 }