io.arconia.multitenancy.autoconfigure.web.WebMvcConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arconia-multitenancy-spring-boot-autoconfigure Show documentation
Show all versions of arconia-multitenancy-spring-boot-autoconfigure Show documentation
Arconia Multitenancy Spring Boot Autoconfigure.
The newest version!
package io.arconia.multitenancy.autoconfigure.web;
import java.util.List;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import io.arconia.multitenancy.web.context.annotations.TenantIdentifierArgumentResolver;
/**
* Register Arconia-specific Spring Web MVC configuration.
*/
@Configuration(proxyBeanMethods = false)
public class WebMvcConfiguration implements WebMvcConfigurer {
@Override
public void addArgumentResolvers(List resolvers) {
resolvers.add(new TenantIdentifierArgumentResolver());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy