Create Destination using Guice Factory

Destination classes were instantiated in ReplicationFileBasedConfig
which required to have all Destination dependencies injected in
ReplicationFileBasedConfig.

Create Destination using a new DestinationFactory to stop having to
pass dependencies from one class to another.

Also-By: David Pursehouse <dpursehouse@collab.net>
Change-Id: If4d9bc5266837b8fec261decfbd1e651c4cb0f51
4 files changed
tree: 8f97382651903d8d186b8bc71b5744e95fb1682c
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUCK
  6. BUILD
  7. LICENSE