From 99e597b31594389691ceeb67262b33e7a01320a4 Mon Sep 17 00:00:00 2001 From: Rick Evans Date: Wed, 23 May 2007 20:29:37 +0000 Subject: [PATCH] Polishing. --- .../org/springframework/ws/server/EndpointMapping.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/org/springframework/ws/server/EndpointMapping.java b/core/src/main/java/org/springframework/ws/server/EndpointMapping.java index b0473426..827b51dd 100644 --- a/core/src/main/java/org/springframework/ws/server/EndpointMapping.java +++ b/core/src/main/java/org/springframework/ws/server/EndpointMapping.java @@ -19,9 +19,9 @@ package org.springframework.ws.server; import org.springframework.ws.context.MessageContext; /** - * Interface to be implemented by objects that define a mapping between message requests and endpoint objects. + * Defines a mapping between message requests and endpoint objects. *

- * This class can be implemented by application developers, although this is not necessary, as + * This class can be implemented by application developers, although this is not always necessary, as * PayloadRootQNameEndpointMapping and SoapActionEndpointMapping are included. *

* HandlerMapping implementations can support mapped interceptors but do not have to. An endpoint will always be wrapped @@ -45,12 +45,12 @@ public interface EndpointMapping { * so that endpoints are not constrained in any way. For example, a EndpointAdapter could be written to * allow another framework's endpoint objects to be used. *

- * Returns null if no match was found. This is not an error. The MessageDispatcher will + * Returns null if no match was found. This is by design. The MessageDispatcher will * query all registered EndpointMapping beans to find a match, and only decide there is an error if * none can find an endpoint. * * @return a HandlerExecutionChain instance containing endpoint object and any interceptors, or null if - * no mapping found + * no mapping is found * @throws Exception if there is an internal error */ EndpointInvocationChain getEndpoint(MessageContext messageContext) throws Exception;