Interface CommandHandler<R extends org.jolokia.server.core.request.JolokiaRequest>

All Known Implementing Classes:
AbstractCommandHandler, ExecHandler, ListHandler, NotificationHandler, ReadHandler, SearchHandler, WriteHandler

public interface CommandHandler<R extends org.jolokia.server.core.request.JolokiaRequest>
Since:
09.03.14
Author:
roland
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Lifecycle method called when agent goes down.
    org.jolokia.server.core.util.RequestType
    The type of request which can be served by this handler
    handleAllServerRequest(org.jolokia.server.core.util.jmx.MBeanServerAccess pServerManager, R request, Object pPreviousResult)
    Override this if you want to have all servers at once for processing the request (like need for merging info as for a list command).
    boolean
    Override this if you want all servers as list in the argument, e.g.
    Handle a request for a single server and throw an InstanceNotFoundException if the request cannot be handle by the provided server.
    void
    init(org.jolokia.server.core.service.api.JolokiaContext pContext, String pProvider)
    Lifecycle method in order to initialize the handler