Renamed the MessageHandler interface for remote proxies to RemoteMessageHandler.

This commit is contained in:
Mark Fisher
2008-11-03 14:25:04 +00:00
parent 39a8486ac8
commit 81b75415ff
8 changed files with 19 additions and 19 deletions

View File

@@ -33,7 +33,7 @@ import org.springframework.remoting.RemoteAccessException;
*/
public abstract class AbstractRemotingOutboundGateway extends AbstractReplyProducingMessageHandler {
private final MessageHandler handlerProxy;
private final RemoteMessageHandler handlerProxy;
public AbstractRemotingOutboundGateway(String url) {
@@ -48,7 +48,7 @@ public abstract class AbstractRemotingOutboundGateway extends AbstractReplyProdu
/**
* Subclasses must implement this method. It will be invoked from the constructor.
*/
protected abstract MessageHandler createHandlerProxy(String url);
protected abstract RemoteMessageHandler createHandlerProxy(String url);
@Override

View File

@@ -24,7 +24,7 @@ import org.springframework.integration.core.Message;
*
* @author Mark Fisher
*/
public interface MessageHandler {
public interface RemoteMessageHandler {
Message<?> handle(Message<?> message);

View File

@@ -24,7 +24,7 @@ import org.springframework.integration.gateway.SimpleMessagingGateway;
*
* @author Mark Fisher
*/
public abstract class RemotingInboundGatewaySupport extends SimpleMessagingGateway implements MessageHandler {
public abstract class RemotingInboundGatewaySupport extends SimpleMessagingGateway implements RemoteMessageHandler {
private volatile boolean expectReply = true;