Interface DestructableComponent
- All Superinterfaces:
Component
- All Known Implementing Classes:
AbstractIdentifiableInitializableComponent
,AbstractIdentifiedInitializableComponent
,AbstractInitializableComponent
,AbstractReloadableService
,BasicAccessControlService
,BasicKeystoreKeyStrategy
,BasicParserPool
,CookieManager
,DataSealer
,DelegatingAccessControlService
,EvaluableScript
,FileCachingHttpClientBuilder.StorageManagingHttpClient
,IdleConnectionSweeper
,IPRangeAccessControl
,ScriptedKeyStrategy
,ScriptedRunnable
A component which can be destroyed and its resources reclaimed.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Destroys the component.boolean
Gets 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.
-