code: protected static BeanDefinition getServerConfigurationBeanDefinition(){
          String className = ServerConfiguration.class.getName();
          GenericBeanDefinition result = new GenericBeanDefinition();
          result.setAutowireCandidate(true);
          result.setScope(BeanDefinition.SCOPE_SINGLETON);
          result.setBeanClass(Server.class);
          result.setFactoryMethodName("getConfig");
          result.setAttribute("id", className);
          result.setAttribute("name", className);
          return result;
      }
docs: Provide a generic bean definition if the Server was not created by Spring
  @return