name changes for consistent use of MessageSource, MessageProducer, and MessageHandler

This commit is contained in:
Mark Fisher
2010-03-08 22:00:52 +00:00
parent a807174118
commit 0df994819a
7 changed files with 18 additions and 18 deletions

View File

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

View File

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

View File

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

View File

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