org.apache.tapestry.services
Interface ApplicationStatePersistenceStrategySource

All Known Implementing Classes:
ApplicationStatePersistenceStrategySourceImpl

public interface ApplicationStatePersistenceStrategySource

Used to provide access to stategies via a logical name for the stategy, such as "session".

See Also:
TapestryModule.contributeApplicationStatePersistenceStrategySource(org.apache.tapestry.ioc.MappedConfiguration, Request)

Method Summary
 ApplicationStatePersistenceStrategy get(String name)
          Returns the named strategy.
 

Method Detail

get

ApplicationStatePersistenceStrategy get(String name)
Returns the named strategy.

Parameters:
name - of strategy to access
Returns:
the strategy
Throws:
RuntimeException - if the name does not match a configured strategy


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.