Interface SessionDrainingStrategy

All Known Implementing Classes:
SessionDrainingStrategyEnum

public interface SessionDrainingStrategy
Defines the strategy for draining sessions from a context
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isEnabled(Context context)
    Indicates whether or not to drain sessions prior to stopping the specified context.
  • Method Details

    • isEnabled

      boolean isEnabled(Context context)
      Indicates whether or not to drain sessions prior to stopping the specified context.
      Parameters:
      context - a web application context
      Returns:
      true, if sessions draining is enabled, false otherwise