Interface ApplicationStateCreator<T>

  • Type Parameters:
    T - the type of the created objects

    public interface ApplicationStateCreator<T>
    Used by ApplicationStateManager and ApplicationStatePersistenceStrategy to create a Session State Object (SSO) on demand.

    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 "SessionStateCreator" (but renaming it would cause backwards compatibility issues).

    • Method Detail

      • create

        T create()
        Create a new instance of a session state object.