Class HvlAuthKafkaNotificationListener
java.lang.Object
tr.com.havelsan.javarch.oauth.auth.starter.notification.kafka.HvlAuthKafkaNotificationListener
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<HvlAuthVerificationNotificationEvent>
@Profile("kafka")
@Primary
@Component
public class HvlAuthKafkaNotificationListener
extends Object
implements org.springframework.context.ApplicationListener<HvlAuthVerificationNotificationEvent>
The class which implements
ApplicationListener
to catch notification events.-
Constructor Summary
ConstructorDescriptionHvlAuthKafkaNotificationListener
(tr.com.havelsan.javarch.notification.kafka.client.service.HvlNotificationKafkaClientService notificationKafkaClientService, HvlAuthNotificationProperties notificationProperties) Instantiates a new HvlAuthKafkaNotificationListener. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onApplicationEvent
(HvlAuthVerificationNotificationEvent notificationEvent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
HvlAuthKafkaNotificationListener
public HvlAuthKafkaNotificationListener(tr.com.havelsan.javarch.notification.kafka.client.service.HvlNotificationKafkaClientService notificationKafkaClientService, HvlAuthNotificationProperties notificationProperties) Instantiates a new HvlAuthKafkaNotificationListener.- Parameters:
notificationKafkaClientService
- the notification kafka client servicenotificationProperties
- the notification properties
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<HvlAuthVerificationNotificationEvent>
-