org.springframework.extensions.surf.studio
Class DefaultWebStudioStateProvider

java.lang.Object
  extended by org.springframework.extensions.surf.studio.DefaultWebStudioStateProvider
All Implemented Interfaces:
WebStudioStateProvider

public class DefaultWebStudioStateProvider
extends Object
implements WebStudioStateProvider

Default in-context state factory which produces session-bound in-context state objects

Author:
muzquiano

Field Summary
static String SESSION_ATTR_WEBSTUDIO
           
protected  WebStudioService webStudioService
           
 
Constructor Summary
DefaultWebStudioStateProvider()
           
 
Method Summary
 WebStudioConfigElement getWebStudioConfiguration()
          Gets the web studio configuration.
 WebStudioService getWebStudioService()
          Gets the web studio service.
 WebStudioStateBean provide(javax.servlet.http.HttpServletRequest request)
          Provides the state management object for the active session of Web Studio
 void setWebStudioService(WebStudioService webStudioService)
          Sets the web studio service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SESSION_ATTR_WEBSTUDIO

public static final String SESSION_ATTR_WEBSTUDIO
See Also:
Constant Field Values

webStudioService

protected WebStudioService webStudioService
Constructor Detail

DefaultWebStudioStateProvider

public DefaultWebStudioStateProvider()
Method Detail

setWebStudioService

public void setWebStudioService(WebStudioService webStudioService)
Sets the web studio service.

Parameters:
webStudioService - the new web studio service

getWebStudioService

public WebStudioService getWebStudioService()
Gets the web studio service.

Returns:
the web studio service

getWebStudioConfiguration

public WebStudioConfigElement getWebStudioConfiguration()
Gets the web studio configuration.

Returns:
the web studio configuration

provide

public WebStudioStateBean provide(javax.servlet.http.HttpServletRequest request)
Description copied from interface: WebStudioStateProvider
Provides the state management object for the active session of Web Studio

Specified by:
provide in interface WebStudioStateProvider
Returns:
state object


Copyright © 2009 SpringSource, Inc. All Rights Reserved.