org.apache.tapestry5.services
Interface ApplicationStatePersistenceStrategySource

All Known Implementing Classes:
ApplicationStatePersistenceStrategySourceImpl

@UsesMappedConfiguration(value=ApplicationStatePersistenceStrategy.class)
public interface ApplicationStatePersistenceStrategySource

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


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 © 2003-2012 The Apache Software Foundation.