
org.opentripplanner.service.vehiclerental.configure.VehicleRentalServiceModule Maven / Gradle / Ivy
The newest version!
package org.opentripplanner.service.vehiclerental.configure;
import dagger.Binds;
import dagger.Module;
import org.opentripplanner.service.vehiclerental.VehicleRentalService;
import org.opentripplanner.service.vehiclerental.internal.DefaultVehicleRentalService;
/**
* 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 VehicleRentalServiceModule {
@Binds
VehicleRentalService bindService(DefaultVehicleRentalService service);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy