Class ReloadService
- java.lang.Object
-
- org.optaweb.vehiclerouting.service.reload.ReloadService
-
@Service public class ReloadService extends Object
Reloads data from repositories when the application starts.
-
-
Constructor Summary
Constructors Constructor Description ReloadService(VehicleRepository vehicleRepository, VehicleService vehicleService, LocationRepository locationRepository, LocationService locationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreload(org.springframework.boot.context.event.ApplicationStartedEvent event)
-
-
-
Constructor Detail
-
ReloadService
@Autowired ReloadService(VehicleRepository vehicleRepository, VehicleService vehicleService, LocationRepository locationRepository, LocationService locationService)
-
-