Package net.shibboleth.idp.security
Class ReloadingAccessControlService
- 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.ext.spring.service.AbstractServiceableComponent<AccessControlService>
-
- net.shibboleth.idp.security.ReloadingAccessControlService
-
- All Implemented Interfaces:
Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,UnmodifiableComponent,AccessControlService,ServiceableComponent<AccessControlService>,Aware,ApplicationContextAware
public class ReloadingAccessControlService extends AbstractServiceableComponent<AccessControlService> implements AccessControlService
This class wraps anAccessControlServicein aServiceableComponent.
-
-
Field Summary
Fields Modifier and Type Field Description private AccessControlServiceserviceThe embedded service.
-
Constructor Summary
Constructors Constructor Description ReloadingAccessControlService(AccessControlService svc)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoInitialize()AccessControlServicegetComponent()AccessControlgetInstance(String name)-
Methods inherited from class net.shibboleth.ext.spring.service.AbstractServiceableComponent
doDestroy, getApplicationContext, pinComponent, setApplicationContext, unloadComponent, unpinComponent
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
getId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, 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
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
-
-
-
Field Detail
-
service
private final AccessControlService service
The embedded service.
-
-
Constructor Detail
-
ReloadingAccessControlService
public ReloadingAccessControlService(@Nonnull @ParameterName(name="svc") AccessControlService svc)
Constructor.- Parameters:
svc- the embedded service
-
-
Method Detail
-
doInitialize
protected void doInitialize() throws ComponentInitializationException- Overrides:
doInitializein classAbstractServiceableComponent<AccessControlService>- Throws:
ComponentInitializationException
-
getInstance
public AccessControl getInstance(@Nonnull String name)
- Specified by:
getInstancein interfaceAccessControlService
-
getComponent
public AccessControlService getComponent()
- Specified by:
getComponentin interfaceServiceableComponent<AccessControlService>- Specified by:
getComponentin classAbstractServiceableComponent<AccessControlService>
-
-