All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.autoconfigure.web.remote.smart.WebMvcSmartHandlerMappingConfiguration Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
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);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy