Package org.apache.tapestry5.services
Interface ApplicationStatePersistenceStrategySource
-
- All Known Implementing Classes:
ApplicationStatePersistenceStrategySourceImpl
@UsesMappedConfiguration(ApplicationStatePersistenceStrategy.class) public interface ApplicationStatePersistenceStrategySource
Used to provide access toApplicationStatePersistenceStrategySource
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 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
-
-