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.Logger
Class 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
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 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:ServiceRegistry
Looks up a service entry from a service URL.- Specified by:
lookup
in interfaceServiceRegistry
- Parameters:
serviceURL
- Non-null CAS service URL.- Returns:
- Service found in registry or null if no match found.
-