org.n52.connectors.core
Class AbstractConnectorTypeRegistry

java.lang.Object
  extended by org.n52.connectors.core.AbstractConnectorTypeRegistry
All Implemented Interfaces:
ConnectorTypeRegistry
Direct Known Subclasses:
LocalConnectorTypeRegistry, RemoteConnectorTypeRegistryProxy

public abstract class AbstractConnectorTypeRegistry
extends java.lang.Object
implements ConnectorTypeRegistry


Method Summary
 void setDefaultConnector(java.lang.String serviceId, java.lang.String connectorName)
          Set a default connector for a specific service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.n52.connectors.core.ConnectorTypeRegistry
getConnectorClass
 

Method Detail

setDefaultConnector

public void setDefaultConnector(java.lang.String serviceId,
                                java.lang.String connectorName)
                         throws IllegalDefaultSetting
Set a default connector for a specific service. If no provider is specified for a service the dfault will be choosen

Parameters:
serviceId - describes the service whose default connector is set
connectorName - is the name of the default connector for this service
Throws:
IllegalDefaultSetting