org.zodiac.autoconfigure.web.remote.smart.WebMvcSmartHandlerMappingConfiguration Maven / Gradle / Ivy
package org.zodiac.autoconfigure.web.remote.smart;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration;
import org.springframework.context.annotation.Lazy;
import org.zodiac.core.web.remote.annotation.smart.WebMvcSmartHandlerMappingConfigurer;
@ConditionalOnWebApplication(type = Type.SERVLET)
@AutoConfigureAfter(value = {WebMvcAutoConfiguration.class})
@ConditionalOnClass(value = {org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.class})
public class WebMvcSmartHandlerMappingConfiguration extends WebMvcSmartHandlerMappingConfigurer {
public WebMvcSmartHandlerMappingConfiguration(@Lazy @Autowired(required = false) List handlerMappings) {
super(handlerMappings);
}
}