|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.connectors.core.AbstractConnector
public abstract class AbstractConnector
Contains a number of default implementations of methods of the interface. The class is the mandatory parent for all implementations of the Connector interface
Constructor Summary | |
---|---|
AbstractConnector()
|
Method Summary | |
---|---|
void |
factorySideInitialization(org.w3c.dom.Document xmlConfiguration,
ConnectorRequest request)
Initializes the connector with information contained in the request. |
java.lang.Object |
getImplementingObject(ConnectorRequest request)
Returns an object that supports the desired functionality or gives (indirectly)access to the desired functionality. |
abstract org.geotools.metadata.iso.MetadataEntity |
getMetadata(java.lang.String arg0)
|
java.lang.String |
getName()
access to the name field of a connector |
abstract boolean |
isSupported(ConnectorRequest request)
Checks if a connector supports a service provider that fullfills the conditions set in the request. |
java.lang.String |
registrySideInitialization(ConnectorRequest request)
Creates an Xml string that contains initialization inforamtion needed by the factory to properly created the connector implied by the request. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractConnector()
Method Detail |
---|
public abstract boolean isSupported(ConnectorRequest request)
Connector
isSupported
in interface Connector
request
- contains all information that is needed to find a suitable
connector
public abstract org.geotools.metadata.iso.MetadataEntity getMetadata(java.lang.String arg0)
getMetadata
in interface Connector
arg0
- a metadata identifier based on ISO 19115. see..
public java.lang.String getName()
Connector
getName
in interface Connector
public java.lang.String registrySideInitialization(ConnectorRequest request)
Connector
registrySideInitialization
in interface Connector
request
- The original request may contain information that is needed by
the server side to create extra initialization informationpublic void factorySideInitialization(org.w3c.dom.Document xmlConfiguration, ConnectorRequest request) throws N52Exception
Connector
factorySideInitialization
in interface Connector
xmlConfiguration
- xml DOM document containing the information returned by the
registryrequest
- The original request may contain initialization information
used as the client side
IllegalConnectorRequest
- requested parameters where not present or invalid in the
request
ParameterDoesNotExist
N52Exception
public java.lang.Object getImplementingObject(ConnectorRequest request) throws N52Exception
Connector
getImplementingObject
in interface Connector
N52Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |