INT-1817 changed attribute value from 'object-name-static-properties-ref' to 'object-name-static-properties'
This commit is contained in:
@@ -52,7 +52,7 @@ public class MBeanExporterParser extends AbstractSingleBeanDefinitionParser {
|
||||
Object mbeanServer = getMBeanServer(element, parserContext);
|
||||
builder.getRawBeanDefinition().setSource(parserContext.extractSource(element));
|
||||
IntegrationNamespaceUtils.setValueIfAttributeDefined(builder, element, "default-domain");
|
||||
IntegrationNamespaceUtils.setReferenceIfAttributeDefined(builder, element, "object-name-static-properties-ref", "objectNameStaticProperties");
|
||||
IntegrationNamespaceUtils.setReferenceIfAttributeDefined(builder, element, "object-name-static-properties", "objectNameStaticProperties");
|
||||
|
||||
builder.addPropertyValue("server", mbeanServer);
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:attribute>
|
||||
<xsd:attribute name="object-name-static-properties-ref" use="optional">
|
||||
<xsd:attribute name="object-name-static-properties" use="optional">
|
||||
<xsd:annotation>
|
||||
<xsd:appinfo>
|
||||
<tool:annotation kind="ref">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<jmx:mbean-export id="integratioMbeanExporter"
|
||||
server="mbs"
|
||||
default-domain="tests.MBeanExpoerterParser"
|
||||
object-name-static-properties-ref="appProperties"/>
|
||||
object-name-static-properties="appProperties"/>
|
||||
|
||||
<util:properties id="appProperties">
|
||||
<prop key="foo">foo</prop>
|
||||
|
||||
Reference in New Issue
Block a user