Martin Schwitalla
02/08/2018, 6:39 PMnfrankel
02/08/2018, 6:45 PMMartin Schwitalla
02/08/2018, 6:48 PMinterface EventProcessor<T> {
fun process()
}
Czar
02/08/2018, 6:53 PMMartin Schwitalla
02/08/2018, 6:53 PM@Service
class SomeEventProcessor() : EventProcessor<LegacyEvent>{
override fun process() {
}
}
Czar
02/08/2018, 6:53 PMMartin Schwitalla
02/08/2018, 6:54 PM@Service
class EventProcessorHandler(val processors: List<EventProcessor>)
Czar
02/08/2018, 6:59 PM