Class DynamicJmxOperationService

  • All Implemented Interfaces:
    AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, MessageEventGenerator, Service, StateManagedComponent

    @ComponentProfile(summary="Execute a JMX operation",
                      tag="service,jmx",
                      since="3.6.5")
    public class DynamicJmxOperationService
    extends JmxOperationImpl
    Allows you to dynamically connect to different JMXServiceURLs and execute JMX Operations.

    Note that because of the dynamic nature of this service, it does not support username/password/jmx-environment that are supported by JmxConnection. If it can be defined in the URL, then it should be (e.g. jmx+jms rather than jmxmp). A small (configurable) cache of connections is kept for performance reasons. This is emptied whenever the service is stopped.

    Note that parameters are not configurable in the same way, so this is really designed for calling the same operation for different ObjectName instances on different JMXServiceURLs.

    Since:
    3.6.5
    • Field Detail

    • Constructor Detail

      • DynamicJmxOperationService

        public DynamicJmxOperationService()