|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.jmx.AttributePollingMessageSource
public class AttributePollingMessageSource
A MessageSource
implementation that retrieves the current
value of a JMX attribute each time receive()
is invoked.
Constructor Summary | |
---|---|
AttributePollingMessageSource()
|
Method Summary | |
---|---|
Message<?> |
receive()
Retrieves the attribute value and returns it in the payload of a Message. |
void |
setAttributeName(String attributeName)
Specify the name of the attribute to be retrieved. |
void |
setObjectName(String objectName)
Specify the String value of the JMX MBean's ObjectName . |
void |
setServer(MBeanServer server)
Provide the MBeanServer where the JMX MBean has been registered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributePollingMessageSource()
Method Detail |
---|
public void setServer(MBeanServer server)
public void setObjectName(String objectName)
ObjectName
.
public void setAttributeName(String attributeName)
public Message<?> receive()
receive
in interface MessageSource
|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |