org.n52.connectors.core
Interface ConnectorTypeRegistry
- All Known Implementing Classes:
- AbstractConnectorTypeRegistry, LocalConnectorTypeRegistry, RemoteConnectorTypeRegistryProxy
public interface ConnectorTypeRegistry
The interface to support the creation of the necessary information for the
factory to load a connector class. The registry itself does not create/load
connectors
- Author:
- martin schouwenburg
getConnectorClass
java.lang.String getConnectorClass(ConnectorRequest request)
throws IllegalConnectorRequest,
WrappedException,
ParameterDoesNotExist
- 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
WrappedException
ParameterDoesNotExist