Class HvlAuthzKafkaRegistrationNotificationListener
java.lang.Object
tr.com.havelsan.javarch.oauth.authz.starter.notification.kafka.HvlAuthzKafkaRegistrationNotificationListener
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<HvlAuthzRegistrationNotificationEvent>
@Profile("kafka")
@Primary
@Component
public class HvlAuthzKafkaRegistrationNotificationListener
extends Object
implements org.springframework.context.ApplicationListener<HvlAuthzRegistrationNotificationEvent>
The class which implements
ApplicationListener
to catch notification events.-
Constructor Summary
ConstructorDescriptionHvlAuthzKafkaRegistrationNotificationListener
(tr.com.havelsan.javarch.notification.kafka.client.service.HvlNotificationKafkaClientService notificationKafkaClientService, HvlAuthzNotificationProperties notificationProperties, HvlAuthzUrlProperties urlProperties) Instantiates a new HvlAuthKafkaNotificationListener. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onApplicationEvent
(HvlAuthzRegistrationNotificationEvent registrationNotificationEvent)
-
Constructor Details
-
HvlAuthzKafkaRegistrationNotificationListener
public HvlAuthzKafkaRegistrationNotificationListener(tr.com.havelsan.javarch.notification.kafka.client.service.HvlNotificationKafkaClientService notificationKafkaClientService, HvlAuthzNotificationProperties notificationProperties, HvlAuthzUrlProperties urlProperties) Instantiates a new HvlAuthKafkaNotificationListener.- Parameters:
notificationKafkaClientService
- the notification kafka client servicenotificationProperties
- the notification propertiesurlProperties
-
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<HvlAuthzRegistrationNotificationEvent>
-