class RouteListener implements ApplicationListener<RouteChangedEvent> {

    public RoutingPlan getBestRoutingPlan() {
        return bestRoutingPlan;
    }

    @Autowired  RouteListener(
            Router router,
            RoutingPlanConsumer routingPlanConsumer,
            VehicleRepository vehicleRepository,
            LocationRepository locationRepository);

}