org.n52.connectors.core
Class RemoteConnectorTypeRegistryProxy

java.lang.Object
  extended by org.n52.connectors.core.AbstractConnectorTypeRegistry
      extended by org.n52.connectors.core.RemoteConnectorTypeRegistryProxy
All Implemented Interfaces:
ConnectorTypeRegistry

public class RemoteConnectorTypeRegistryProxy
extends AbstractConnectorTypeRegistry


Field Summary
(package private)  java.net.URL url
           
 
Fields inherited from class org.n52.connectors.core.AbstractConnectorTypeRegistry
defaultMapping, logger
 
Constructor Summary
RemoteConnectorTypeRegistryProxy(java.net.URL location)
           
 
Method Summary
 java.lang.String getConnectorClass(ServiceRequest request)
          return an XML String describing a Connector with requested functionality.
 
Methods inherited from class org.n52.connectors.core.AbstractConnectorTypeRegistry
setDefaultConnector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

java.net.URL url
Constructor Detail

RemoteConnectorTypeRegistryProxy

public RemoteConnectorTypeRegistryProxy(java.net.URL location)
Method Detail

getConnectorClass

public java.lang.String getConnectorClass(ServiceRequest request)
                                   throws org.n52.connectors.core.exceptions.IllegalConnectorRequestException
Description copied from interface: ConnectorTypeRegistry
return an XML String describing a Connector with requested functionality. Depending on the request, the connector returned is either the default for the service or the connector explicitly requested for. In the XML string all needed information should be that enables a factory to create a proper connector with the correct initialization

Parameters:
request - contains all information that is needed to find a suitable connector
Returns:
a connector that supports the request, in an XML String
Throws:
org.n52.connectors.core.exceptions.IllegalConnectorRequestException - request could not be fullfilled