Corrected Javadoc typo ('indefintely' -> 'indefinitely').

This commit is contained in:
Rick Evans
2007-04-14 11:59:44 +00:00
parent 90285e4233
commit 8f74e914a5

View File

@@ -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 <code>MessageDispatcher</code> to be indefintely extensible. It accesses all installed endpoints through
* allow the <code>MessageDispatcher</code> to be indefinitely extensible. It accesses all installed endpoints through
* this interface, meaning that is does not contain code specific to any endpoint type.
* <p/>
* This interface is not intended for application developers. It is available for those who want to develop their own
*
* <p>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 <code>EndpointAdapter</code> can support it. Typical
* <code>EndpointAdapters</code> will base the decision on the endpoint type.
* Does this <code>EndpointAdapter</code> support the given <code>endpoint</code>?
*
* <p>Typical <code>EndpointAdapters</code> 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 <code>true</code> if this <code>EndpointAdapter</code> supports the supplied <code>endpoint</code>
*/
boolean supports(Object endpoint);
/**
* Use the given endpoint to handle the request.
* Use the given <code>endpoint</code> 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
* <code>supports</code> method of this interface, which must have returned <code>true</code>
* {@link #supports(Object)} method of this interface, which must have returned <code>true</code>
* @throws Exception in case of errors
*/
void invoke(MessageContext messageContext, Object endpoint) throws Exception;