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

io.arconia.multitenancy.autoconfigure.web.WebMvcConfiguration Maven / Gradle / Ivy

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