public class PatternServiceRegistry extends net.shibboleth.ext.spring.service.AbstractServiceableComponent<ServiceRegistry> implements net.shibboleth.utilities.java.support.component.IdentifiableComponent, ServiceRegistry
NOTE: This class will become an implementation component in the next major software version.
| Modifier and Type | Field and Description |
|---|---|
private Map<ServiceDefinition,Pattern> |
definitions
Map of service definitions to compiled patterns.
|
private Logger |
log
Class logger.
|
| Constructor and Description |
|---|
PatternServiceRegistry() |
| Modifier and Type | Method and Description |
|---|---|
ServiceRegistry |
getComponent() |
Service |
lookup(String serviceURL)
Looks up a service entry from a service URL.
|
void |
setDefinitions(List<ServiceDefinition> definitions)
Sets the list of service definitions that back the registry.
|
void |
setId(String componentId) |
doDestroy, doInitialize, getApplicationContext, pinComponent, setApplicationContext, unloadComponent, unpinComponentgetIddestroy, initialize, isDestroyed, isInitializedprivate final Logger log
@Nonnull @NonnullElements private Map<ServiceDefinition,Pattern> definitions
public void setId(@Nonnull String componentId)
setId in interface net.shibboleth.utilities.java.support.component.IdentifiableComponentsetId in class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponentpublic void setDefinitions(@Nonnull@NonnullElements List<ServiceDefinition> definitions)
definitions - List of service definitions, each of which defines a match pattern to evaluate a candidate
service URL.@Nonnull public ServiceRegistry getComponent()
getComponent in interface net.shibboleth.utilities.java.support.service.ServiceableComponent<ServiceRegistry>getComponent in class net.shibboleth.ext.spring.service.AbstractServiceableComponent<ServiceRegistry>@Nullable public Service lookup(@Nonnull String serviceURL)
ServiceRegistrylookup in interface ServiceRegistryserviceURL - Non-null CAS service URL.Copyright © 1999–2015. All rights reserved.