Class RefreshListener
- java.lang.Object
-
- org.springframework.cloud.bus.event.RefreshListener
-
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<RefreshRemoteApplicationEvent>
public class RefreshListener extends Object implements org.springframework.context.ApplicationListener<RefreshRemoteApplicationEvent>
- Author:
- Spencer Gibb, Ryan Baxter
-
-
Constructor Summary
Constructors Constructor Description RefreshListener(org.springframework.cloud.context.refresh.ContextRefresher contextRefresher, ServiceMatcher serviceMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onApplicationEvent(RefreshRemoteApplicationEvent event)
-
-
-
Constructor Detail
-
RefreshListener
public RefreshListener(org.springframework.cloud.context.refresh.ContextRefresher contextRefresher, ServiceMatcher serviceMatcher)
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(RefreshRemoteApplicationEvent event)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<RefreshRemoteApplicationEvent>
-
-