mirror of
https://github.com/opentripplanner/OpenTripPlanner.git
synced 2026-04-03 15:26:08 +02:00
16 lines
613 B
Java
16 lines
613 B
Java
package org.opentripplanner.service.realtimevehicles.configure;
|
|
|
|
import dagger.Binds;
|
|
import dagger.Module;
|
|
import org.opentripplanner.service.realtimevehicles.RealtimeVehicleService;
|
|
import org.opentripplanner.service.realtimevehicles.internal.DefaultRealtimeVehicleService;
|
|
|
|
/**
|
|
* The service is used during application serve phase, not loading, so we need to provide
|
|
* a module for the service without the repository, which is injected from the loading phase.
|
|
*/
|
|
@Module
|
|
public interface RealtimeVehicleServiceModule {
|
|
@Binds
|
|
RealtimeVehicleService bindService(DefaultRealtimeVehicleService service);
|
|
}
|