@UsesMappedConfiguration(value=ApplicationStatePersistenceStrategy.class) public interface ApplicationStatePersistenceStrategySource
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).
Modifier and Type | Method and Description |
---|---|
ApplicationStatePersistenceStrategy |
get(String name)
Returns the named strategy.
|
ApplicationStatePersistenceStrategy get(String name)
name
- of strategy to accessRuntimeException
- if the name does not match a configured strategy5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.