Class RouteRefreshListener
java.lang.Object
org.springframework.cloud.gateway.route.RouteRefreshListener
- All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
public class RouteRefreshListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
-
Constructor Summary
ConstructorsConstructorDescriptionRouteRefreshListener(org.springframework.context.ApplicationEventPublisher publisher) -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.context.ApplicationEvent event) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
RouteRefreshListener
public RouteRefreshListener(org.springframework.context.ApplicationEventPublisher publisher)
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
-