Class ReloadingServiceRegistry
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
-
- net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
-
- net.shibboleth.idp.cas.service.impl.ReloadingServiceRegistry
-
- All Implemented Interfaces:
ServiceRegistry,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
public class ReloadingServiceRegistry extends AbstractIdentifiableInitializableComponent implements ServiceRegistry
Service registry wrapper around aReloadableService.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.private ReloadableService<ServiceRegistry>serviceThe service that manages the reloading.
-
Constructor Summary
Constructors Constructor Description ReloadingServiceRegistry(ReloadableService<ServiceRegistry> delegate)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Servicelookup(String serviceURL)-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, getId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
-
-
-
Field Detail
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
service
private final ReloadableService<ServiceRegistry> service
The service that manages the reloading.
-
-
Constructor Detail
-
ReloadingServiceRegistry
public ReloadingServiceRegistry(@Nonnull @ParameterName(name="delegate") ReloadableService<ServiceRegistry> delegate)
Creates a new instance.- Parameters:
delegate- The service to which operations are delegated.
-
-
Method Detail
-
lookup
@Nullable public Service lookup(@Nonnull String serviceURL)
- Specified by:
lookupin interfaceServiceRegistry
-
-