org.eclipse.swordfish.core.resolver
Interface ServiceResolver

All Known Implementing Classes:
ServiceResolverImpl

public interface ServiceResolver

Resolves information about service provider endpoints for specified service.


Field Summary
static java.lang.String POLICY_CONSUMER_NAME
          Property set in the message exchange as key for the consumer policy.
 
Method Summary
 java.util.Collection<EndpointDescription> getEndpointsFor(javax.xml.namespace.QName portType)
          Resolve physical endpoints of providers for a service identified by its portType.
 java.util.Collection<EndpointDescription> getEndpointsFor(javax.xml.namespace.QName portType, javax.xml.namespace.QName consumer)
          Resolve physical endpoints of providers for a service identified by its portType and an identified consumer which may be configured to request certain quality of service.
 

Field Detail

POLICY_CONSUMER_NAME

static final java.lang.String POLICY_CONSUMER_NAME
Property set in the message exchange as key for the consumer policy. Setting this property activates policy support in the ServiceResolver. When the Swordfish default policy support is used, the value of this property must be a QName identifying a policy which can be retrieved by the Policy Definition Provider under the given QName.

See Also:
Constant Field Values
Method Detail

getEndpointsFor

java.util.Collection<EndpointDescription> getEndpointsFor(javax.xml.namespace.QName portType)
Resolve physical endpoints of providers for a service identified by its portType.

Parameters:
portType - a qualified name of portType.
Returns:
a collection of EndpointDescription specifying provider endpoints matching a given portType.

getEndpointsFor

java.util.Collection<EndpointDescription> getEndpointsFor(javax.xml.namespace.QName portType,
                                                          javax.xml.namespace.QName consumer)
Resolve physical endpoints of providers for a service identified by its portType and an identified consumer which may be configured to request certain quality of service.

Parameters:
portType - a qualified name of portType.
Returns:
a collection of EndpointDescription specifying provider endpoints matching a given portType.