Add a Binding to the New Populator Implementation

Guice bindings are used to register the implementation.

public class SampleModule extends AbstractModule {

public void configure() {

  // Register the populator implementation
  Multibinder<PDCPhoneNumberEvidencePopulator> samplePopulator =
  Multibinder.newSetBinder(binder(), PDCPhoneNumberEvidencePopulator.class);

  samplePopulator.addBinding().to(SamplePopulatorImpl.class);
  }
}
Note: New Guice modules must be registered by adding a row to the ModuleClassName database table. Please see the Persistence Cookbook for more information.