# Uses of Interface
org.apache.tapestry5.services.ApplicationStatePersistenceStrategy

Packages that use ApplicationStatePersistenceStrategy
Package
Description
org.apache.tapestry5.hibernate.web.internal
[INTERNAL USE ONLY] support classes for Hibernate integration; API subject to change
org.apache.tapestry5.hibernate.web.modules
org.apache.tapestry5.internal.jpa
[INTERNAL USE ONLY] support classes for the JPA module; API subject to change
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.jpa.modules
org.apache.tapestry5.modules
org.apache.tapestry5.services
Core services
org.apache.tapestry5.test
Support for testing Tapestry pages

- ## Uses of ApplicationStatePersistenceStrategy in org.apache.tapestry5.hibernate.web.internal

  Classes in org.apache.tapestry5.hibernate.web.internal that implement ApplicationStatePersistenceStrategy
  Modifier and Type
  Class
  Description
  `class`
  `EntityApplicationStatePersistenceStrategy`
  Persists Hibernate entities as SSOs by storing their primary key in the `Session`.

- ## Uses of ApplicationStatePersistenceStrategy in org.apache.tapestry5.hibernate.web.modules

  Method parameters in org.apache.tapestry5.hibernate.web.modules with type arguments of type ApplicationStatePersistenceStrategy
  Modifier and Type
  Method
  Description
  `void`
  HibernateModule.`contributeApplicationStatePersistenceStrategySource(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration)`
  Contributes the following strategy: entity Stores the id of the entity and reloads from the `Session`

- ## Uses of ApplicationStatePersistenceStrategy in org.apache.tapestry5.internal.jpa

  Classes in org.apache.tapestry5.internal.jpa that implement ApplicationStatePersistenceStrategy
  Modifier and Type
  Class
  Description
  `class`
  `EntityApplicationStatePersistenceStrategy`

- ## Uses of ApplicationStatePersistenceStrategy in org.apache.tapestry5.internal.services

  Classes in org.apache.tapestry5.internal.services that implement ApplicationStatePersistenceStrategy
  Modifier and Type
  Class
  Description
  `class`
  `SessionApplicationStatePersistenceStrategy`
  Stores ASOs in the `Session`, which will be created as necessary.
  Methods in org.apache.tapestry5.internal.services that return ApplicationStatePersistenceStrategy
  Modifier and Type
  Method
  Description
  `ApplicationStatePersistenceStrategy`
  ApplicationStatePersistenceStrategySourceImpl.`get(String name)`
  Constructor parameters in org.apache.tapestry5.internal.services with type arguments of type ApplicationStatePersistenceStrategy
  Modifier
  Constructor
  Description
  ``
  `ApplicationStatePersistenceStrategySourceImpl(Map<String,ApplicationStatePersistenceStrategy> configuration)`

- ## Uses of ApplicationStatePersistenceStrategy in org.apache.tapestry5.jpa.modules

  Method parameters in org.apache.tapestry5.jpa.modules with type arguments of type ApplicationStatePersistenceStrategy
  Modifier and Type
  Method
  Description
  `void`
  JpaModule.`provideApplicationStatePersistenceStrategies(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration)`

- ## Uses of ApplicationStatePersistenceStrategy in org.apache.tapestry5.modules

  Methods in org.apache.tapestry5.modules with parameters of type ApplicationStatePersistenceStrategy
  Modifier and Type
  Method
  Description
  `void`
  TapestryModule.`contributeApplicationStatePersistenceStrategySource(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration, ApplicationStatePersistenceStrategy sessionStategy)`
  Contributes the default "session" strategy.
  Method parameters in org.apache.tapestry5.modules with type arguments of type ApplicationStatePersistenceStrategy
  Modifier and Type
  Method
  Description
  `void`
  TapestryModule.`contributeApplicationStatePersistenceStrategySource(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration, ApplicationStatePersistenceStrategy sessionStategy)`
  Contributes the default "session" strategy.

- ## Uses of ApplicationStatePersistenceStrategy in org.apache.tapestry5.services

  Methods in org.apache.tapestry5.services that return ApplicationStatePersistenceStrategy
  Modifier and Type
  Method
  Description
  `ApplicationStatePersistenceStrategy`
  ApplicationStatePersistenceStrategySource.`get(String name)`
  Returns the named strategy.

- ## Uses of ApplicationStatePersistenceStrategy in org.apache.tapestry5.test

  Methods in org.apache.tapestry5.test that return ApplicationStatePersistenceStrategy
  Modifier and Type
  Method
  Description
  `protected final ApplicationStatePersistenceStrategy`
  TapestryTestCase.`mockApplicationStatePersistenceStrategy()`
  Methods in org.apache.tapestry5.test with parameters of type ApplicationStatePersistenceStrategy
  Modifier and Type
  Method
  Description
  `protected final <T> void`
  TapestryTestCase.`train_exists(ApplicationStatePersistenceStrategy strategy, Class<T> asoClass, boolean exists)`
  `protected final <T> void`
  TapestryTestCase.`train_get(ApplicationStatePersistenceStrategy strategy, Class<T> asoClass, ApplicationStateCreator<T> creator, T aso)`
  `protected final void`
  TapestryTestCase.`train_get(ApplicationStatePersistenceStrategySource source, String strategyName, ApplicationStatePersistenceStrategy strategy)`
  `protected final <T> void`
  TapestryTestCase.`train_getIfExists(ApplicationStatePersistenceStrategy strategy, Class<T> asoClass, T aso)`