Code example for AbstractAnnotationConfigDispatcherServletInitializer

0
package com.sequenceiq.samples.web.config; 
 
import org.springframework.core.annotation.Order; 
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; 
 
/** 
 * User: doktoric 
 */ 
@Order(1) 
public class Initialization extends AbstractAnnotationConfigDispatcherServletInitializer { 
 
	@Override 
	protected Class<?>[] getRootConfigClasses() { 
		return new Class<?>[]{RootConfig.class}; 
	} 
 
	@Override 
	protected Class<?>[] getServletConfigClasses() { 
		return new Class<?>[]{WebMvcConfig.class}; 
	} 
 
	@Override 
	protected String[] getServletMappings() { 
		return new String[]{"/"}; 
Connect your IDE to all the code out there  Get Codota for Java