org.n52.connectors.core
Class AbstractServiceFactory
java.lang.Object
org.n52.connectors.core.AbstractServiceFactory
- All Implemented Interfaces:
- ConnectorCreation
- Direct Known Subclasses:
- ServiceFactory
public abstract class AbstractServiceFactory
- extends java.lang.Object
- implements ConnectorCreation
Adds a number of convenience functions to the ConnectorCreation. It also
contains the core of the administration for the available regsitries. Every
connector must be told where it can find its registries. Local registries are
added by setting a locally created registry object; remote registries can be
added by setting an URL.
- Author:
- martin schouwenburg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registries
protected java.util.ArrayList<ConnectorTypeRegistry> registries
AbstractServiceFactory
public AbstractServiceFactory()
addRegistry
public void addRegistry(ConnectorTypeRegistry registry)
- Description copied from interface:
ConnectorCreation
- adds a certain registry to the set of registries that will be searched to
find certain functionality
- Specified by:
addRegistry
in interface ConnectorCreation
- Parameters:
registry
- a registry made locally to query for functionality
addRegistry
public void addRegistry(java.net.URL location)
getClassInfo
protected org.w3c.dom.Document getClassInfo(java.lang.String respons)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.transform.TransformerException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException