Class SpringServiceableComponent<T>
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.shared.spring.service.AbstractServiceableComponent<T>
net.shibboleth.shared.spring.service.impl.SpringServiceableComponent<T>
- Type Parameters:
T- component type
- All Implemented Interfaces:
AutoCloseable,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,ServiceableComponent<T>,Aware,ApplicationContextAware
A container @{link
ServiceableComponent which is (usually) created during spring service
creation as part of service (re)load.-
Field Summary
Fields -
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
-
Field Details
-
theComponent
The component we are encapsulating.
-
-
Constructor Details
-
SpringServiceableComponent
Constructor.- Parameters:
what- the object we are wrapping.
-
-
Method Details
-
getComponent
Extract the component that does the actual work. Callers MUST have the ServiceableComponent pinned at this stage.- Specified by:
getComponentin interfaceServiceableComponent<T>- Specified by:
getComponentin classAbstractServiceableComponent<T>- Returns:
- the component.
-