public class OwsExtendedCapabilitiesRepository extends AbstractConfiguringServiceLoaderRepository<OwsExtendedCapabilitiesProvider>
OwsExtendedCapabilities
. Loads all implemented
OwsExtendedCapabilitiesProvider
and adds the provided
OwsExtendedCapabilities
to this repository.Modifier and Type | Class and Description |
---|---|
private static class |
OwsExtendedCapabilitiesRepository.LazyHolder |
Modifier and Type | Field and Description |
---|---|
private Map<String,OwsExtendedCapabilities> |
extendedCapabilities |
private static org.slf4j.Logger |
LOGGER |
Modifier | Constructor and Description |
---|---|
private |
OwsExtendedCapabilitiesRepository()
Load implemented
OwsExtendedCapabilities |
Modifier and Type | Method and Description |
---|---|
Map<String,OwsExtendedCapabilities> |
getExtendedCapabilities()
Get map with all loaded OwsExtendedCapabilities implementations
|
OwsExtendedCapabilities |
getExtendedCapabilities(String service)
Get the loaded OwsExtendedCapabilities implementation for the specific
service
|
static OwsExtendedCapabilitiesRepository |
getInstance()
For singleton use
|
boolean |
hasExtendedCapabilitiesFor(String service)
Check if a loaded OwsExtendedCapabilities implementation is loaded for
the specific service
|
protected void |
processConfiguredImplementations(Set<OwsExtendedCapabilitiesProvider> implementations) |
processImplementations
checkConnectionProviderIdentifications, load, update
private static final org.slf4j.Logger LOGGER
private final Map<String,OwsExtendedCapabilities> extendedCapabilities
private OwsExtendedCapabilitiesRepository() throws ConfigurationException
OwsExtendedCapabilities
ConfigurationException
- If no Capabilities extension providerr is implementedpublic static OwsExtendedCapabilitiesRepository getInstance()
protected void processConfiguredImplementations(Set<OwsExtendedCapabilitiesProvider> implementations) throws ConfigurationException
processConfiguredImplementations
in class AbstractConfiguringServiceLoaderRepository<OwsExtendedCapabilitiesProvider>
ConfigurationException
public Map<String,OwsExtendedCapabilities> getExtendedCapabilities()
public OwsExtendedCapabilities getExtendedCapabilities(String service)
service
- The related servicepublic boolean hasExtendedCapabilitiesFor(String service)
service
- The related service to check fortrue
, if a OwsExtendedCapabilities implementation is
loaded for the specific serviceCopyright © 2012-2014 52north.org. All Rights Reserved.