Register Custom Override of OOTB Broadcast Evidence Hook

The Cúram Evidence Broker comes with an OOTB Broadcast Evidence hook as part of the Evidence Broker. After creating a custom version of the hook, it is necessary to associate the custom version with the evidence type. The custom hook is managed by a combination of the BroadcastEvidenceManager.

This can be done in two ways: using Google Guice module or by a registrar. Though both approaches achieve the same goal, the Google Guice route is preferred over the registrar route. Typically the registrar route should be used when overriding the OOTB implementation. Both approaches are outlined below: