org.eclipse.swordfish.core.resolver.registry
Interface EndpointExtractor

All Known Implementing Classes:
WSDL11EndpointExtractor

public interface EndpointExtractor

Responsible for extracting endpoint parts (endpoint address, transport protocol) from the service description document.


Method Summary
 boolean canHandle(ServiceDescription<?> description)
          Checks if the passed description can be processed by this type of extractor.
 EndpointDescription extractEndpoint(ServiceDescription<?> description)
          Extracts endpoint part from the given service description.
 

Method Detail

canHandle

boolean canHandle(ServiceDescription<?> description)
Checks if the passed description can be processed by this type of extractor.

Parameters:
description - A ServiceDescription to check.
Returns:
true if the extractor can handle passed service description, false otherwise.

extractEndpoint

EndpointDescription extractEndpoint(ServiceDescription<?> description)
Extracts endpoint part from the given service description.

Parameters:
endpointDocument - A service description to parse.
Returns:
endpoint description, not null