INT-1817 changed attribute value from 'object-name-static-properties-ref' to 'object-name-static-properties'

This commit is contained in:
Oleg Zhurakousky
2011-05-03 10:16:33 -04:00
parent c4bb717567
commit 3956193bea
3 changed files with 3 additions and 3 deletions

View File

@@ -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);
}

View File

@@ -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">

View File

@@ -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>