name changes for consistent use of MessageSource, MessageProducer, and MessageHandler
This commit is contained in:
@@ -26,7 +26,7 @@ import org.springframework.integration.message.OutboundMessageMapper;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* Default Messaging Mapper implementation for the {@link NotificationPublishingAdapter}.
|
||||
* Default Messaging Mapper implementation for the {@link NotificationPublishingMessageHandler}.
|
||||
* If the Message has a String-typed payload, that will be passed as the 'message' of
|
||||
* the Notification instance. Otherwise, the payload object will be passed as the
|
||||
* 'userData' of the Notification instance.
|
||||
|
||||
@@ -44,7 +44,7 @@ import org.springframework.util.Assert;
|
||||
* @author Mark Fisher
|
||||
* @since 2.0
|
||||
*/
|
||||
public class NotificationListeningAdapter extends MessageProducerSupport implements NotificationListener {
|
||||
public class NotificationListeningMessageProducer extends MessageProducerSupport implements NotificationListener {
|
||||
|
||||
private final Log logger = LogFactory.getLog(this.getClass());
|
||||
|
||||
@@ -41,7 +41,7 @@ import org.springframework.util.Assert;
|
||||
* @author Mark Fisher
|
||||
* @since 2.0
|
||||
*/
|
||||
public class NotificationPublishingAdapter extends AbstractMessageHandler implements BeanFactoryAware, InitializingBean {
|
||||
public class NotificationPublishingMessageHandler extends AbstractMessageHandler implements BeanFactoryAware, InitializingBean {
|
||||
|
||||
private final PublisherDelegate delegate = new PublisherDelegate();
|
||||
|
||||
@@ -54,12 +54,12 @@ public class NotificationPublishingAdapter extends AbstractMessageHandler implem
|
||||
private volatile ListableBeanFactory beanFactory;
|
||||
|
||||
|
||||
public NotificationPublishingAdapter(ObjectName objectName) {
|
||||
public NotificationPublishingMessageHandler(ObjectName objectName) {
|
||||
Assert.notNull(objectName, "JMX ObjectName is required");
|
||||
this.objectName = objectName;
|
||||
}
|
||||
|
||||
public NotificationPublishingAdapter(String objectName) {
|
||||
public NotificationPublishingMessageHandler(String objectName) {
|
||||
Assert.notNull(objectName, "JMX ObjectName is required");
|
||||
try {
|
||||
this.objectName = ObjectNameManager.getInstance(objectName);
|
||||
@@ -53,7 +53,7 @@ import org.springframework.util.ObjectUtils;
|
||||
* @author Oleg Zhurakousky
|
||||
* @since 2.0
|
||||
*/
|
||||
public class OperationInvokingHandler extends AbstractReplyProducingMessageHandler implements InitializingBean {
|
||||
public class OperationInvokingMessageHandler extends AbstractReplyProducingMessageHandler implements InitializingBean {
|
||||
|
||||
private volatile MBeanServer server;
|
||||
|
||||
Reference in New Issue
Block a user