BATCH-2077 Java Config: Register listeners just once