Class NotificationDispatcher
java.lang.Object
org.jolokia.service.jmx.handler.notification.NotificationDispatcher
Dispatcher for notification commands. Commands are dispatcher to
the appropriate command in a
NotificationListenerDelegate.- Since:
- 18.03.13
- Author:
- roland
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationDispatcher(org.jolokia.server.core.service.api.JolokiaContext pContext) Initialize backends and delegate -
Method Summary
-
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 MBeanServerspCommand- the command to execute- Returns:
- the result generated by the dispatched actions
- Throws:
MBeanExceptionIOExceptionReflectionExceptionorg.jolokia.server.core.request.EmptyResponseException
-