public class OwsExtendedCapabilitiesRepository extends AbstractConfiguringServiceLoaderRepository<OwsExtendedCapabilitiesProvider>
OwsExtendedCapabilities
. Loads all implemented
OwsExtendedCapabilitiesProvider
and adds to this repository.Modifier and Type | Class and Description |
---|---|
private static class |
OwsExtendedCapabilitiesRepository.LazyHolder
Lazy holder class for the
OwsExtendedCapabilitiesRepository |
Modifier and Type | Field and Description |
---|---|
private Map<OwsExtendedCapabilitiesKey,Activatable<OwsExtendedCapabilitiesProvider>> |
extendedCapabilitiesProvider |
private static org.slf4j.Logger |
LOGGER |
Modifier | Constructor and Description |
---|---|
private |
OwsExtendedCapabilitiesRepository()
Load implemented
OwsExtendedCapabilities |
processImplementations
checkConnectionProviderIdentifications, load, update
private static final org.slf4j.Logger LOGGER
private final Map<OwsExtendedCapabilitiesKey,Activatable<OwsExtendedCapabilitiesProvider>> extendedCapabilitiesProvider
private OwsExtendedCapabilitiesRepository() throws ConfigurationException
OwsExtendedCapabilities
ConfigurationException
- If no Capabilities extension providerr is implementedpublic static OwsExtendedCapabilitiesRepository getInstance()
protected void processConfiguredImplementations(Set<OwsExtendedCapabilitiesProvider> extendedCapabilitiesProviders) throws ConfigurationException
processConfiguredImplementations
in class AbstractConfiguringServiceLoaderRepository<OwsExtendedCapabilitiesProvider>
ConfigurationException
public Map<OwsExtendedCapabilitiesKey,OwsExtendedCapabilitiesProvider> getAllExtendedCapabilitiesProviders()
OwsExtendedCapabilitiesProvider
sOwsExtendedCapabilitiesProvider
spublic Map<OwsExtendedCapabilitiesKey,OwsExtendedCapabilitiesProvider> getExtendedCapabilitiesProviders()
OwsExtendedCapabilitiesProvider
sOwsExtendedCapabilitiesProvider
spublic OwsExtendedCapabilitiesProvider getExtendedCapabilitiesProvider(AbstractServiceCommunicationObject serviceCommunicationObject)
OwsExtendedCapabilitiesProvider
implementation for
the specific service and versionserviceCommunicationObject
- The AbstractServiceCommunicationObject
with service
and versionOwsExtendedCapabilitiesProvider
implementationpublic OwsExtendedCapabilitiesProvider getExtendedCapabilitiesProvider(OwsExtendedCapabilitiesKey key)
OwsExtendedCapabilitiesProvider
implementation for
the specific OwsExtendedCapabilitiesKey
key
- The related OwsExtendedCapabilitiesKey
OwsExtendedCapabilitiesProvider
implementationpublic boolean hasExtendedCapabilitiesProvider(AbstractServiceCommunicationObject serviceCommunicationObject)
OwsExtendedCapabilitiesProvider
implementation is
loaded for the specific AbstractServiceCommunicationObject
serviceCommunicationObject
- The AbstractServiceCommunicationObject
with service
and versiontrue
, if a OwsExtendedCapabilitiesProvider
implementation is loaded for the specific
AbstractServiceCommunicationObject
public boolean hasExtendedCapabilitiesProvider(OwsExtendedCapabilitiesKey oeckt)
OwsExtendedCapabilitiesProvider
implementation is
loaded for the specific OwsExtendedCapabilitiesKey
key
- The related OwsExtendedCapabilitiesKey
to check fortrue
, if a OwsExtendedCapabilitiesProvider
implementation is loaded for the specific
OwsExtendedCapabilitiesKey
public void setActive(OwsExtendedCapabilitiesKey oeckt, boolean active)
OwsExtendedCapabilitiesProvider
which
relates to the requested OwsExtendedCapabilitiesKey
oeckt
- the OwsExtendedCapabilitiesKey
to change the status
foractive
- the new statuspublic Map<ServiceOperatorKey,Collection<String>> getAllDomains()
ServiceOperatorKey
and linked domain valuesServiceOperatorKey
and linked domain valuesprivate Set<String> getDomains()
OwsExtendedCapabilitiesKey
Copyright © 2012-2015 52north.org. All Rights Reserved.