code: @Override
      public Object postProcessAfterInitialization(Object bean, String beanName) {
  
          // throws BeansException {
  
          if (bean instanceof VLDockingViewDescriptor) {
              return bean;
          } else if (bean instanceof ViewDescriptor) {
              final ViewDescriptor sourceViewDescriptor = (ViewDescriptor) bean;
              final ViewDescriptor targetViewDescriptor = this.getTemplate(sourceViewDescriptor);
  
              // Copy source state
              ObjectUtils.shallowCopy(sourceViewDescriptor, targetViewDescriptor);
  
              return targetViewDescriptor;
          }
  
          return bean;
      }
docs: {@inheritDoc}
  <p/>
  Replaces those view descriptors not implementing {@link VLDockingViewDescriptor}.