Package net.shibboleth.shared.component
Interface DestructableComponent
- All Superinterfaces:
Component
- All Known Implementing Classes:
AbstractIdentifiableInitializableComponent,AbstractIdentifiedInitializableComponent,AbstractInitializableComponent,AbstractReloadableService,AbstractServiceableComponent,ApplicationContextServiceableComponent,BasicAccessControlService,BasicKeystoreKeyStrategy,BasicParserPool,ConditionalResource,CookieManager,DataSealer,DelegatingAccessControlService,EvaluableScript,FileBackedHTTPResource,FileCachingHttpClientBuilder.StorageManagingHttpClient,HTTPResource,IPRangeAccessControl,LogbackLoggingService,MockReloadableService,ReloadableServiceGaugeSet,ReloadableSpringService,ReloadingAccessControlService,ScriptedKeyStrategy,ScriptedRunnable,ServiceableAccessControlService,SpringServiceableComponent
A component which can be destroyed and its resources reclaimed.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Destroys the component.booleanGets whether this component has been destroyed.
-
Method Details
-
isDestroyed
boolean isDestroyed()Gets whether this component has been destroyed. Normally, once a component has been destroyed it cannot be used.- Returns:
- true iff the component has been destroyed
-
destroy
void destroy()Destroys the component.
-