@Service public class RouteListener extends Object implements org.springframework.context.ApplicationListener<RouteChangedEvent>
| Constructor and Description |
|---|
RouteListener(Router router,
RoutePublisher publisher,
LocationRepository locationRepository) |
| Modifier and Type | Method and Description |
|---|---|
RoutingPlan |
getBestRoutingPlan() |
void |
onApplicationEvent(RouteChangedEvent event) |
RouteListener(Router router, RoutePublisher publisher, LocationRepository locationRepository)
public void onApplicationEvent(RouteChangedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<RouteChangedEvent>public RoutingPlan getBestRoutingPlan()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.