org.eclipse.swordfish.core.resolver.registry
Interface ServiceDescription<T>

Type Parameters:
T - A service description wrapped by this interface.
All Known Implementing Classes:
WSDL11ServiceDescription

public interface ServiceDescription<T>

A basic entity used to present a service description.


Method Summary
 java.util.Map<java.lang.String,PolicyDefinitionDescription> getEmbeddedPolicyDefinitions()
          Retrieve embedded policy definitions.
 javax.xml.namespace.QName getServiceName()
          Get the qualified name of the service the service description presents.
 java.lang.Class<T> getType()
          Get an actual type of the description object, used by EndpointExtractor to identify the supported descriptions.
 

Method Detail

getType

java.lang.Class<T> getType()
Get an actual type of the description object, used by EndpointExtractor to identify the supported descriptions.

Returns:
A Class object on an entity.

getServiceName

javax.xml.namespace.QName getServiceName()
Get the qualified name of the service the service description presents.

Returns:
A qualified name of the service, not null.

getEmbeddedPolicyDefinitions

java.util.Map<java.lang.String,PolicyDefinitionDescription> getEmbeddedPolicyDefinitions()
Retrieve embedded policy definitions.

Returns:
the embedded policy definitions mapped to corresponding endpoint names or null if there are none.