INT-3372 Add NamedComponent to Remaining MsgSrcs

JIRA: https://jira.spring.io/browse/INT-3372
This commit is contained in:
Gary Russell
2014-04-15 18:36:32 -04:00
committed by Artem Bilan
parent c4a7d22a35
commit 17c6f8a350
8 changed files with 85 additions and 12 deletions

View File

@@ -75,6 +75,11 @@ public class AttributePollingMessageSource extends AbstractMessageSource<Object>
this.attributeName = attributeName;
}
@Override
public String getComponentType() {
return "jmx:attribute-polling-channel-adapter";
}
/**
* Retrieves the JMX attribute value.
*/

View File

@@ -34,6 +34,7 @@ import org.springframework.util.Assert;
* A {@link MessageSource} implementation that retrieves a snapshot of a filtered subset of the MBean tree.
*
* @author Stuart Williams
* @author Gary Russell
* @since 3.0
*
*/
@@ -54,6 +55,11 @@ public class MBeanTreePollingMessageSource extends AbstractMessageSource<Object>
this.converter = converter;
}
@Override
public String getComponentType() {
return "jmx:tree-polling-channel-adapter";
}
/**
* Provides the mapped tree object
*/