BATCH-2077 Java Config: Register listeners just once
Merge pull request #211 from tobiasflohre/BATCH-2077

* BATCH-2077:
  BATCH-2077 Java Config: Register listeners just once