Code example for AbstractAnnotationConfigDispatcherServletInitializer

0
 */ 
package org.springframework.social.quickstart.config; 
 
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; 
 
public class WebConfig extends AbstractAnnotationConfigDispatcherServletInitializer { 
 
	@Override 
	protected Class<?>[] getRootConfigClasses() { 
		return new Class<?>[] { MainConfig.class, WebMvcConfig.class, SocialConfig.class }; 
	} 
 
	@Override 
	protected Class<?>[] getServletConfigClasses() { 
		return null; 
	} 
 
	@Override 
	protected String[] getServletMappings() { 
		return new String[] { "/" }; 
Experience pair programming with AI  Get Codota for Java