@Service @Profile(value="!test") public class RouteListener extends Object implements org.springframework.context.ApplicationListener<RouteChangedEvent>
RouteListener(Router router, RoutePublisher publisher, VehicleRepository vehicleRepository, LocationRepository locationRepository)
RoutingPlan
getBestRoutingPlan()
void
onApplicationEvent(RouteChangedEvent event)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@Autowired RouteListener(Router router, RoutePublisher publisher, VehicleRepository vehicleRepository, LocationRepository locationRepository)
public void onApplicationEvent(RouteChangedEvent event)
onApplicationEvent
org.springframework.context.ApplicationListener<RouteChangedEvent>
public RoutingPlan getBestRoutingPlan()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.