code: public ViewDescriptor[] getViewDescriptors() {
          Map beans = applicationContext.getBeansOfType(ViewDescriptor.class, false, false);
          return (ViewDescriptor[])beans.values().toArray(new ViewDescriptor[beans.size()]);
      }
docs: {@inheritDoc}