Package org.apache.tapestry5.services
Class ApplicationStateContribution
- java.lang.Object
-
- org.apache.tapestry5.services.ApplicationStateContribution
-
public final class ApplicationStateContribution extends java.lang.Object
A contribution to the configuration of theApplicationStateManager, identifying the strategy and creator for a particular Session State Object (SSO), identified by the SSO's class.
-
-
Constructor Summary
Constructors Constructor Description ApplicationStateContribution(java.lang.String strategy)ApplicationStateContribution(java.lang.String strategy, ApplicationStateCreator creator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationStateCreatorgetCreator()The creator for the ASO.java.lang.StringgetStrategy()The name of the strategy used to control where the ASO is stored.
-
-
-
Constructor Detail
-
ApplicationStateContribution
public ApplicationStateContribution(java.lang.String strategy)
-
ApplicationStateContribution
public ApplicationStateContribution(java.lang.String strategy, ApplicationStateCreator creator)
-
-
Method Detail
-
getCreator
public ApplicationStateCreator getCreator()
The creator for the ASO. If null, the the ASO is created directly from the ASO class, via its public no-arguments constructor.
-
getStrategy
public java.lang.String getStrategy()
The name of the strategy used to control where the ASO is stored.
-
-