Class NotificationDispatcher

java.lang.Object
org.jolokia.service.jmx.handler.notification.NotificationDispatcher

public class NotificationDispatcher extends Object
Dispatcher for notification commands. Commands are dispatcher to the appropriate command in a NotificationListenerDelegate.
Since:
18.03.13
Author:
roland
  • Constructor Summary

    Constructors
    Constructor
    Description
    NotificationDispatcher(org.jolokia.server.core.service.api.JolokiaContext pContext)
    Initialize backends and delegate
  • Method Summary

    Modifier and Type
    Method
    Description
    dispatch(org.jolokia.server.core.util.jmx.MBeanServerAccess pExecutor, org.jolokia.server.core.request.notification.NotificationCommand pCommand)
    Dispatch a command to the appropriate method in the action in the delegate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NotificationDispatcher

      public NotificationDispatcher(org.jolokia.server.core.service.api.JolokiaContext pContext)
      Initialize backends and delegate
  • Method Details

    • dispatch

      public Object dispatch(org.jolokia.server.core.util.jmx.MBeanServerAccess pExecutor, org.jolokia.server.core.request.notification.NotificationCommand pCommand) throws MBeanException, IOException, ReflectionException, org.jolokia.server.core.request.EmptyResponseException
      Dispatch a command to the appropriate method in the action in the delegate
      Parameters:
      pExecutor - executor providing access to the MBeanServers
      pCommand - the command to execute
      Returns:
      the result generated by the dispatched actions
      Throws:
      MBeanException
      IOException
      ReflectionException
      org.jolokia.server.core.request.EmptyResponseException