org.apache.tapestry5.services
Class ApplicationStateContribution

java.lang.Object
  extended by org.apache.tapestry5.services.ApplicationStateContribution

public final class ApplicationStateContribution
extends Object

A contribution to the configuration of the ApplicationStateManager, identifying the strategy and creator for a particular Session State Object (SSO), identified by the SSO's class.


Constructor Summary
ApplicationStateContribution(String strategy)
           
ApplicationStateContribution(String strategy, ApplicationStateCreator creator)
           
 
Method Summary
 ApplicationStateCreator getCreator()
          The creator for the ASO.
 String getStrategy()
          The name of the strategy used to control where the ASO is stored.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationStateContribution

public ApplicationStateContribution(String strategy)

ApplicationStateContribution

public ApplicationStateContribution(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 String getStrategy()
The name of the strategy used to control where the ASO is stored.



Copyright © 2003-2012 The Apache Software Foundation.