Code example for AbstractAnnotationConfigDispatcherServletInitializer

0
 * {@link RepositoryRestExporterServlet} to export the repositories defined in {@link ApplicationConfig} via a REST 
 * interface. 
 *  
 * @author Oliver Gierke 
 */ 
public class RestWebApplicationInitializer extends AbstractAnnotationConfigDispatcherServletInitializer { 
 
	/*  
	 * (non-Javadoc) 
	 * @see org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer#getRootConfigClasses() 
	 */ 
	@Override 
	protected Class<?>[] getRootConfigClasses() { 
		return new Class<?>[] { ApplicationConfig.class }; 
	} 
 
	/*  
	 * (non-Javadoc) 
	 * @see org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer#getServletConfigClasses() 
	 */ 
Connect your IDE to all the code out there  Get Codota for Java