Interface DestructableComponent

All Superinterfaces:
Component
All Known Implementing Classes:
AbstractIdentifiableInitializableComponent, AbstractIdentifiedInitializableComponent, AbstractInitializableComponent, AbstractReloadableService, AbstractServiceableComponent, ApplicationContextServiceableComponent, BasicAccessControlService, BasicHttpServletRequestContentTypeValidator, BasicHttpServletRequestMethodValidator, BasicHttpServletRequestParametersValidator, BasicKeystoreKeyStrategy, BasicParserPool, ChainingHttpServletRequestValidator, ConditionalResource, CookieManager, DataSealer, DelegatingAccessControlService, EncryptedCookieManager, EvaluableScript, FileBackedHTTPResource, FileCachingHttpClientBuilder.StorageManagingHttpClient, HTTPResource, IdentifiedComponentManager, IPRangeAccessControl, LogbackLoggingService, MockReloadableService, ReloadableServiceGaugeSet, ReloadableSpringService, ReloadingAccessControlService, ScriptedKeyStrategy, ScriptedRunnable, ServiceableAccessControlService, SpringServiceableComponent

@Deprecated(forRemoval=true, since="9.3.0") public interface DestructableComponent extends Component
Deprecated, for removal: This API element is subject to removal in a future version.
A component which can be destroyed and its resources reclaimed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version. 
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version. 
  • Method Details

    • isDestroyed

      @Deprecated(forRemoval=true, since="9.3.0") boolean isDestroyed()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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

      @Deprecated(forRemoval=true, since="9.3.0") void destroy()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Destroys the component.