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 a
ReloadableService.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.private final ReloadableService<ServiceRegistry>The service that manages the reloading. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance. -
Method Summary
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, getIdMethods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
service
The service that manages the reloading.
-
-
Constructor Details
-
ReloadingServiceRegistry
public ReloadingServiceRegistry(@Nonnull @ParameterName(name="delegate") ReloadableService<ServiceRegistry> delegate) Creates a new instance.- Parameters:
delegate- The service to which operations are delegated.
-
-
Method Details
-
lookup
Description copied from interface:ServiceRegistryLooks up a service entry from a service URL.- Specified by:
lookupin interfaceServiceRegistry- Parameters:
serviceURL- Non-null CAS service URL.- Returns:
- Service found in registry or null if no match found.
-