Skip to content

Instantly share code, notes, and snippets.

@rudrakshbhati
Created August 31, 2019 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rudrakshbhati/6776064dc4bed2c899ad0c6ede209194 to your computer and use it in GitHub Desktop.
Save rudrakshbhati/6776064dc4bed2c899ad0c6ede209194 to your computer and use it in GitHub Desktop.
import com.google.inject.AbstractModule;
public class VehicleShoppingModule extends AbstractModule {
@Override
protected void configure() {
bind(Vehicle.class).to(Bike.class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment