public abstract class ALcdCSWCommandDispatcherFactory extends Object implements ILcdOGCCommandDispatcherFactory
ALcdOGCCommandDispatcher
for a CSW server.
This implementation adds support for the following operations:
capabilities provider
to expose and implement the
server capabilities.Constructor and Description |
---|
ALcdCSWCommandDispatcherFactory() |
Modifier and Type | Method and Description |
---|---|
abstract ILcdCSWCapabilitiesProvider |
createCapabilitiesProvider(ILcdInitializationConfig aConfig)
Creates the class that is used to help the server expose its capabilities.
|
ALcdOGCCommandDispatcher |
createCommandDispatcher(ILcdInitializationConfig aConfig)
Creates a CSW command dispatcher, using the given configuration information.
|
public ALcdOGCCommandDispatcher createCommandDispatcher(ILcdInitializationConfig aConfig) throws TLcdOGCServiceException
This method supports one configuration parameter called "csw.recordNamespaces", which is used to configure extra namespaces when encoding records to XML. An example value is the following:
<init-param>
<param-name>csw.recordNamespaces</param-name>
<param-value>"(prefix1,http://namespace1.com),(prefix2,http://namespace2.com)</param-value>
</init-param>
createCommandDispatcher
in interface ILcdOGCCommandDispatcherFactory
aConfig
- the initialization parameters from the servletTLcdOGCServiceException
- if the ALcdOGCCommandDispatcher
cannot be created.public abstract ILcdCSWCapabilitiesProvider createCapabilitiesProvider(ILcdInitializationConfig aConfig) throws TLcdOGCServiceException
aConfig
- the initialization parameters from the servletTLcdOGCServiceException