@Override
  protected void configure() {

    bind(DiscoveryService.class).to(BaseDiscoveryService.class);

    bind(OperatingSystemDetectionStrategy.class)
        .to(NameSubstringBasedOperatingSystemDetectionStrategy.class);
  }
@ Override protected void configure ( ) { bind ( DiscoveryService . class ) . to ( BaseDiscoveryService . class ) ; bind ( OperatingSystemDetectionStrategy . class ) . to ( NameSubstringBasedOperatingSystemDetectionStrategy . class ) ; }
Can be extended to load own implementation of classes.