diff --git a/core/src/main/java/org/springframework/ws/server/EndpointAdapter.java b/core/src/main/java/org/springframework/ws/server/EndpointAdapter.java
index a2ececc2..58daf6a6 100644
--- a/core/src/main/java/org/springframework/ws/server/EndpointAdapter.java
+++ b/core/src/main/java/org/springframework/ws/server/EndpointAdapter.java
@@ -20,10 +20,10 @@ import org.springframework.ws.context.MessageContext;
/**
* Interface that must be implemented for each endpoint type to handle a message request. This interface is used to
- * allow the MessageDispatcher to be indefintely extensible. It accesses all installed endpoints through
+ * allow the MessageDispatcher to be indefinitely extensible. It accesses all installed endpoints through
* this interface, meaning that is does not contain code specific to any endpoint type.
- *
This interface is not intended for application developers. It is available for those who want to develop their own
* message flow.
*
* @author Arjen Poutsma
@@ -32,20 +32,21 @@ import org.springframework.ws.context.MessageContext;
public interface EndpointAdapter {
/**
- * Given an endpoint instance, return whether or not this EndpointAdapter can support it. Typical
- * EndpointAdapters will base the decision on the endpoint type.
+ * Does this EndpointAdapter support the given endpoint?
+ *
+ *
Typical EndpointAdapters will base the decision on the endpoint type.
*
* @param endpoint endpoint object to check
- * @return whether or not this adapter can adapt the given endpoint
+ * @return true if this EndpointAdapter supports the supplied endpoint
*/
boolean supports(Object endpoint);
/**
- * Use the given endpoint to handle the request.
+ * Use the given endpoint to handle the request.
*
* @param messageContext the current message context
* @param endpoint the endpoint to use. This object must have previously been passed to the
- * supports method of this interface, which must have returned true
+ * {@link #supports(Object)} method of this interface, which must have returned true
* @throws Exception in case of errors
*/
void invoke(MessageContext messageContext, Object endpoint) throws Exception;