Class SseNotificationBackend

java.lang.Object
org.jolokia.server.core.service.api.AbstractJolokiaService<org.jolokia.server.core.service.notification.NotificationBackend>
org.jolokia.service.notif.sse.SseNotificationBackend
All Implemented Interfaces:
Comparable<org.jolokia.server.core.service.notification.NotificationBackend>, org.jolokia.server.core.service.api.JolokiaService<org.jolokia.server.core.service.notification.NotificationBackend>, org.jolokia.server.core.service.notification.NotificationBackend

public class SseNotificationBackend extends org.jolokia.server.core.service.api.AbstractJolokiaService<org.jolokia.server.core.service.notification.NotificationBackend> implements org.jolokia.server.core.service.notification.NotificationBackend
Dummy implementation
Since:
20.03.13
Author:
roland
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.jolokia.server.core.service.api.JolokiaService

    org.jolokia.server.core.service.api.JolokiaService.Init
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a server side event notification backend which will return notifications via the backchannel.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    channelInit(org.jolokia.server.core.service.notification.Client client, org.jolokia.server.core.http.BackChannel channel)
     
    void
     
    void
    init(org.jolokia.server.core.service.api.JolokiaContext pContext)
    org.jolokia.server.core.service.notification.BackendCallback
    subscribe(org.jolokia.server.core.service.notification.NotificationSubscription pSubscription)
    void
    unregister(org.jolokia.server.core.service.notification.Client pClient)
    void
    unsubscribe(String pClientId, String pHandle)

    Methods inherited from class org.jolokia.server.core.service.api.AbstractJolokiaService

    compareTo, getJolokiaContext, getOrder, getType, isEnabled, registerJolokiaMBean, unregisterJolokiaMBean

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface org.jolokia.server.core.service.api.JolokiaService

    getOrder, getType, isEnabled
  • Constructor Details

    • SseNotificationBackend

      public SseNotificationBackend(int order)
      Create a server side event notification backend which will return notifications via the backchannel.
      Parameters:
      order - of this notification backend
  • Method Details

    • init

      public void init(org.jolokia.server.core.service.api.JolokiaContext pContext)
      Specified by:
      init in interface org.jolokia.server.core.service.api.JolokiaService<org.jolokia.server.core.service.notification.NotificationBackend>
      Overrides:
      init in class org.jolokia.server.core.service.api.AbstractJolokiaService<org.jolokia.server.core.service.notification.NotificationBackend>
    • destroy

      public void destroy() throws Exception
      Specified by:
      destroy in interface org.jolokia.server.core.service.api.JolokiaService<org.jolokia.server.core.service.notification.NotificationBackend>
      Overrides:
      destroy in class org.jolokia.server.core.service.api.AbstractJolokiaService<org.jolokia.server.core.service.notification.NotificationBackend>
      Throws:
      Exception
    • getNotifType

      public String getNotifType()
      Specified by:
      getNotifType in interface org.jolokia.server.core.service.notification.NotificationBackend
    • subscribe

      public org.jolokia.server.core.service.notification.BackendCallback subscribe(org.jolokia.server.core.service.notification.NotificationSubscription pSubscription)
      Specified by:
      subscribe in interface org.jolokia.server.core.service.notification.NotificationBackend
    • channelInit

      public void channelInit(org.jolokia.server.core.service.notification.Client client, org.jolokia.server.core.http.BackChannel channel)
      Specified by:
      channelInit in interface org.jolokia.server.core.service.notification.NotificationBackend
    • unsubscribe

      public void unsubscribe(String pClientId, String pHandle)
      Specified by:
      unsubscribe in interface org.jolokia.server.core.service.notification.NotificationBackend
    • unregister

      public void unregister(org.jolokia.server.core.service.notification.Client pClient)
      Specified by:
      unregister in interface org.jolokia.server.core.service.notification.NotificationBackend
      Parameters:
      pClient -
    • getConfig

      public Map<String,?> getConfig()
      Specified by:
      getConfig in interface org.jolokia.server.core.service.notification.NotificationBackend