org.apache.tapestry5.services

## Interface ApplicationStatePersistenceStrategySource

- All Known Implementing Classes:
    ApplicationStatePersistenceStrategySourceImpl

      @UsesMappedConfiguration(value=ApplicationStatePersistenceStrategy.class)
      public interface ApplicationStatePersistenceStrategySource

  Used to provide access to `ApplicationStatePersistenceStrategySource` instances via a logical name for the strategy, such as "session".

  NOTE: The term "Application" here is a hold-over from Tapestry 5.0, which used the @ApplicationState (deprecated and deleted) annotation, and called them "ASOs" (Application State Objects). This service would be better named "SessionStatePersistenceStrategySource" (but renaming it would cause backwards compatibility issues).

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationStatePersistenceStrategy` | `get(String name)` Returns the named strategy.

- - ### Method Detail

    - #### get

          ApplicationStatePersistenceStrategy get(String name)

      Returns the named strategy.
      Parameters:
        `name` - of strategy to access
      Returns:
        the strategy
      Throws:
        `RuntimeException` - if the name does not match a configured strategy

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.