All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rkflow.workflow-engine.1.2.3.source-code.workflow-engine-jmx.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

  <bean id="exporter" class="org.springframework.jmx.export.MBeanExporter">
    <property name="server" ref="mbeanServer" />
    <property name="assembler" ref="assembler" />
    <property name="beans">
      <map>
        <entry key="ee.telekom.workflowengine:name=ConfigurationMonitor" value-ref="configurationMonitor" />
        <entry key="ee.telekom.workflowengine:name=ClusterMonitor" value-ref="clusterMonitor" />
        <entry key="ee.telekom.workflowengine:name=EngineMonitor" value-ref="engineMonitor" />
      </map>
    </property>
    <property name="registrationBehaviorName" value="REGISTRATION_REPLACE_EXISTING" />
  </bean>

  <bean id="jmxAttributeSource" class="org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource" />

  <bean id="assembler" class="org.springframework.jmx.export.assembler.MetadataMBeanInfoAssembler">
    <property name="attributeSource" ref="jmxAttributeSource" />
  </bean>

  <bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServerFactoryBean">
    <property name="locateExistingServerIfPossible" value="true" />
  </bean>

</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy