Interface DeActivator


@Deprecated(forRemoval=true, since="4.0.8") public interface DeActivator
Deprecated, for removal: This API element is subject to removal in a future version.
Helidon inject is deprecated and will be replaced in a future version
DeActivators are responsible for lifecycle, transitioning a ServiceProvider through its Phase's, notably including any PreDestroy method invocations, and finally into the terminal Phase.DESTROYED phase. These phase transitions are the inverse of Activator.
See Also:
  • Method Summary

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

    • deactivate

      Deprecated, for removal: This API element is subject to removal in a future version.
      Deactivate a managed service. This will trigger any PreDestroy method on the underlying service type instance.
      Parameters:
      request - deactivation request
      Returns:
      the result