Class ApplicationContextServiceableComponent
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.shared.spring.service.AbstractServiceableComponent<ApplicationContext>
net.shibboleth.shared.spring.service.ApplicationContextServiceableComponent
- All Implemented Interfaces:
AutoCloseable,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,ServiceableComponent<ApplicationContext>,Aware,ApplicationContextAware
public class ApplicationContextServiceableComponent
extends AbstractServiceableComponent<ApplicationContext>
Wraps a Spring
ApplicationContext so it can itself be exposed as a serviceable component.- Since:
- 5.4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtract the component that does the actual work.Methods inherited from class net.shibboleth.shared.spring.service.AbstractServiceableComponent
close, doDestroy, doInitialize, getApplicationContext, pinComponent, setApplicationContext, unloadComponent, unpinComponentMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, 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.shared.component.IdentifiedComponent
getId
-
Constructor Details
-
ApplicationContextServiceableComponent
public ApplicationContextServiceableComponent()
-
-
Method Details
-
getComponent
Extract the component that does the actual work. Callers MUST have the ServiceableComponent pinned at this stage.- Specified by:
getComponentin interfaceServiceableComponent<ApplicationContext>- Specified by:
getComponentin classAbstractServiceableComponent<ApplicationContext>- Returns:
- the component.
-