Class GatewayMvcPropertiesBeanDefinitionRegistrar
java.lang.Object
org.springframework.cloud.gateway.server.mvc.config.GatewayMvcPropertiesBeanDefinitionRegistrar
- All Implemented Interfaces:
org.springframework.context.annotation.ImportBeanDefinitionRegistrar
public class GatewayMvcPropertiesBeanDefinitionRegistrar
extends Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
BeanDefinitionRegistrar that registers a RouterFunctionHolder and a
DelegatingRouterFunction.
- Author:
- Spencer Gibb, Pavel Tregl, Jürgen Wißkirchen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSimply holds the composite gateway RouterFunction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
registerBeanDefinitions
-
Constructor Details
-
GatewayMvcPropertiesBeanDefinitionRegistrar
public GatewayMvcPropertiesBeanDefinitionRegistrar()
-
-
Method Details
-
registerBeanDefinitions
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) - Specified by:
registerBeanDefinitionsin interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
-