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


Constructor Summary
RemoteConnectorTypeRegistryProxy(java.net.URL location)
           
 
Method Summary
 java.lang.String getConnectorClass(ConnectorRequest 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteConnectorTypeRegistryProxy

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

getConnectorClass

public java.lang.String getConnectorClass(ConnectorRequest request)
                                   throws IllegalConnectorRequest
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:
IllegalConnectorRequest - request could not be fullfilled