org.eclipse.swordfish.internal.resolver.backend.remote
Class SwordfishRegistryProvider

java.lang.Object
  extended by org.eclipse.swordfish.internal.resolver.backend.base.AbstractDocumentProvider
      extended by org.eclipse.swordfish.internal.resolver.backend.remote.SwordfishRegistryProvider
All Implemented Interfaces:
ConfigurationConsumer<java.lang.Object>, PrioritizedProvider, EndpointDocumentProvider

public class SwordfishRegistryProvider
extends AbstractDocumentProvider


Field Summary
static java.lang.String DESCRIPTION_CONTEXT
           
static java.lang.String REGISTRY_URL_SYSPROPERTY
           
 
Constructor Summary
SwordfishRegistryProvider()
           
 
Method Summary
 RegistryProxy getProxy()
           
 java.net.URL getRegistryURL()
           
 java.util.List<ServiceDescription<?>> getServiceProviderDescriptions(javax.xml.namespace.QName interfaceName)
          Perform a query to the registry it can communicate with and returns a Collection of ServiceDescription objects implementing specified interface.
 ServiceDescriptionReader<?> getWsdlReader()
           
 void onReceiveConfiguration(java.util.Map<java.lang.String,java.lang.Object> configuration)
          The callback method invoked by the Swordfish environment when the configuration is changed
 void setProxy(RegistryProxy proxy)
           
 void setRegistryURL(java.net.URL registryURL)
           
 void setWsdlReader(ServiceDescriptionReader<?> wsdlReader)
           
 
Methods inherited from class org.eclipse.swordfish.internal.resolver.backend.base.AbstractDocumentProvider
getId, getPriority, setPriority
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGISTRY_URL_SYSPROPERTY

public static final java.lang.String REGISTRY_URL_SYSPROPERTY
See Also:
Constant Field Values

DESCRIPTION_CONTEXT

public static final java.lang.String DESCRIPTION_CONTEXT
See Also:
Constant Field Values
Constructor Detail

SwordfishRegistryProvider

public SwordfishRegistryProvider()
Method Detail

getServiceProviderDescriptions

public java.util.List<ServiceDescription<?>> getServiceProviderDescriptions(javax.xml.namespace.QName interfaceName)
Description copied from interface: EndpointDocumentProvider
Perform a query to the registry it can communicate with and returns a Collection of ServiceDescription objects implementing specified interface.

Parameters:
interfaceName - A qualified name of the interface of the service. Corresponds to the value of portType element.
Returns:
A Collection of the service descriptions providing operations specified by given port type. Returns an empty collection if no service descriptions were found.

onReceiveConfiguration

public void onReceiveConfiguration(java.util.Map<java.lang.String,java.lang.Object> configuration)
Description copied from interface: ConfigurationConsumer
The callback method invoked by the Swordfish environment when the configuration is changed

Specified by:
onReceiveConfiguration in interface ConfigurationConsumer<java.lang.Object>
Overrides:
onReceiveConfiguration in class AbstractDocumentProvider
Parameters:
configuration - the new/updated configuration.

getRegistryURL

public java.net.URL getRegistryURL()

setRegistryURL

public void setRegistryURL(java.net.URL registryURL)

getProxy

public RegistryProxy getProxy()

setProxy

public void setProxy(RegistryProxy proxy)

getWsdlReader

public ServiceDescriptionReader<?> getWsdlReader()

setWsdlReader

public void setWsdlReader(ServiceDescriptionReader<?> wsdlReader)