Package fish.payara.nucleus.notification
Class NotifierHandler
- java.lang.Object
-
- fish.payara.nucleus.notification.NotifierHandler
-
- All Implemented Interfaces:
Consumer<PayaraNotification>
public class NotifierHandler extends Object implements Consumer<PayaraNotification>
-
-
Constructor Summary
Constructors Constructor Description NotifierHandler(org.glassfish.hk2.api.ServiceHandle<PayaraNotifier> notifierHandle)NotifierHandler(org.glassfish.hk2.api.ServiceHandle<PayaraNotifier> notifierHandle, PayaraNotifierConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PayaraNotification notification)protected voidbootstrap()protected voiddestroy()protected PayaraNotifierConfigurationgetConfig()protected StringgetName()protected voidreconfigure()
-
-
-
Constructor Detail
-
NotifierHandler
public NotifierHandler(org.glassfish.hk2.api.ServiceHandle<PayaraNotifier> notifierHandle)
-
NotifierHandler
public NotifierHandler(org.glassfish.hk2.api.ServiceHandle<PayaraNotifier> notifierHandle, PayaraNotifierConfiguration config)
-
-
Method Detail
-
getConfig
protected PayaraNotifierConfiguration getConfig()
-
getName
protected String getName()
-
reconfigure
protected void reconfigure()
-
destroy
protected void destroy()
-
bootstrap
protected void bootstrap()
-
accept
public void accept(PayaraNotification notification)
- Specified by:
acceptin interfaceConsumer<PayaraNotification>
-
-