public class MBeanTreePollingMessageSource extends AbstractMessageSource<Object>
MessageSource
implementation that retrieves a snapshot of a filtered subset of the MBean tree.Constructor and Description |
---|
MBeanTreePollingMessageSource(MBeanObjectConverter converter) |
Modifier and Type | Method and Description |
---|---|
protected Object |
doReceive()
Provides the mapped tree object
|
void |
setQueryExpression(String queryExpression) |
void |
setQueryExpressionReference(QueryExp queryExpression) |
void |
setQueryName(String queryName) |
void |
setQueryNameReference(ObjectName queryName) |
void |
setServer(MBeanServerConnection server)
Provide the MBeanServer where the JMX MBean has been registered.
|
receive, setHeaderExpressions
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService
public MBeanTreePollingMessageSource(MBeanObjectConverter converter)
converter
- The converter.protected Object doReceive()
doReceive
in class AbstractMessageSource<Object>
public void setServer(MBeanServerConnection server)
server
- The MBean server connection.public void setQueryName(String queryName)
queryName
- The query name.public void setQueryNameReference(ObjectName queryName)
queryName
- The query name.public void setQueryExpression(String queryExpression)
queryExpression
- The query expression.public void setQueryExpressionReference(QueryExp queryExpression)
queryExpression
- The query expression.