public class ServiceOperatorRepository extends AbstractConfiguringServiceLoaderRepository<ServiceOperator>
Modifier and Type | Class and Description |
---|---|
private static class |
ServiceOperatorRepository.LazyHolder |
Modifier and Type | Field and Description |
---|---|
private Map<ServiceOperatorKey,ServiceOperator> |
serviceOperators
Implemented ServiceOperator
|
private Set<String> |
supportedServices
supported services
|
private SetMultiMap<String,String> |
supportedVersions
supported SOS versions
|
Modifier | Constructor and Description |
---|---|
private |
ServiceOperatorRepository()
Load implemented request listener
|
processImplementations
checkConnectionProviderIdentifications, load
private final Map<ServiceOperatorKey,ServiceOperator> serviceOperators
private final SetMultiMap<String,String> supportedVersions
private ServiceOperatorRepository() throws ConfigurationException
ConfigurationException
- If no request listener is implementedpublic static ServiceOperatorRepository getInstance()
protected void processConfiguredImplementations(Set<ServiceOperator> implementations) throws ConfigurationException
processConfiguredImplementations
in class AbstractConfiguringServiceLoaderRepository<ServiceOperator>
implementations
- the loaded implementationsConfigurationException
- If no request listener is implementedpublic void update() throws ConfigurationException
update
in class AbstractServiceLoaderRepository<ServiceOperator>
ConfigurationException
- If no request listener is implementedpublic Map<ServiceOperatorKey,ServiceOperator> getServiceOperators()
public Set<ServiceOperatorKey> getServiceOperatorKeyTypes()
public ServiceOperator getServiceOperator(ServiceOperatorKey sok)
public ServiceOperator getServiceOperator(String service, String version) throws OwsExceptionReport
service
- the serviceversion
- the versionOwsExceptionReport
@Deprecated public Set<String> getSupportedVersions()
public Set<String> getSupportedVersions(String service)
service
- the service@Deprecated public boolean isVersionSupported(String version)
version
- the versionpublic boolean isVersionSupported(String service, String version)
service
- the serviceversion
- the versionpublic boolean isServiceSupported(String service)
Copyright © 2012-2015 52north.org. All Rights Reserved.