Package be.ehealth.technicalconnector.session.renew

# Interface RenewStrategy

All Superinterfaces:
  `SessionServiceWithCache`

All Known Implementing Classes:
  `AbstractRenewStrategy`, `SlidingWindowRenewStrategy`, `TokenExpiredRenew`

public interface RenewStrategy extends SessionServiceWithCache

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final long`
  `DEFAULT_VALIDITY_TOKEN`
  `static final String`
  `PROP_AUTO_RENEW`
  `static final String`
  `PROP_VALIDITY_TOKEN`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `register(SessionServiceWithCache serviceWithCache)`
  `void`
  `renew(SessionItem session)`

  ### Methods inherited from interface be.ehealth.technicalconnector.session.SessionServiceWithCache

  `flushCache`

- ## Field Details

  - ### PROP_AUTO_RENEW

    static final String PROP_AUTO_RENEW
    See Also:
      - Constant Field Values

  - ### PROP_VALIDITY_TOKEN

    static final String PROP_VALIDITY_TOKEN
    See Also:
      - Constant Field Values

  - ### DEFAULT_VALIDITY_TOKEN

    static final long DEFAULT_VALIDITY_TOKEN
    See Also:
      - Constant Field Values

- ## Method Details

  - ### renew

    void renew(SessionItem session) throws SessionManagementException
    Throws:
      `SessionManagementException`

  - ### register

    void register(SessionServiceWithCache serviceWithCache)