org.springframework.extensions.surf.mvc
Class AbstractWebFrameworkView

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.view.AbstractView
              extended by org.springframework.web.servlet.view.AbstractUrlBasedView
                  extended by org.springframework.extensions.surf.mvc.AbstractWebFrameworkView
All Implemented Interfaces:
org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.View
Direct Known Subclasses:
ComponentView, ErrorHandlerPageView, PageView, RegionView, SystemPageView, TemplateView

public abstract class AbstractWebFrameworkView
extends org.springframework.web.servlet.view.AbstractUrlBasedView

Abstract Spring MVC implementation of a view resolver for Surf. Developers who wish to implement custom Spring views may wish to extend their own view implementations from this class so as to gain access to member convenience functions for working with Surf services.

Author:
muzquiano

Field Summary
 
Fields inherited from class org.springframework.web.servlet.view.AbstractView
DEFAULT_CONTENT_TYPE
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Fields inherited from interface org.springframework.web.servlet.View
RESPONSE_STATUS_ATTRIBUTE
 
Constructor Summary
AbstractWebFrameworkView(WebFrameworkServiceRegistry webFrameworkServiceRegistry)
           
 
Method Summary
 RenderService getRenderService()
          Gets the render service.
 WebFrameworkServiceRegistry getServiceRegistry()
          Gets the service registry.
 WebFrameworkConfigElement getWebFrameworkConfiguration()
          Gets the web framework configuration.
 WebFrameworkManager getWebFrameworkManager()
          Gets the web framework manager.
 
Methods inherited from class org.springframework.web.servlet.view.AbstractUrlBasedView
afterPropertiesSet, checkResource, getUrl, isUrlRequired, setUrl, toString
 
Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, prepareResponse, render, renderMergedOutputModel, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute, writeToResponse
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractWebFrameworkView

public AbstractWebFrameworkView(WebFrameworkServiceRegistry webFrameworkServiceRegistry)
Method Detail

getServiceRegistry

public WebFrameworkServiceRegistry getServiceRegistry()
Gets the service registry.

Returns:
the service registry

getWebFrameworkConfiguration

public WebFrameworkConfigElement getWebFrameworkConfiguration()
Gets the web framework configuration.

Returns:
the web framework configuration

getWebFrameworkManager

public WebFrameworkManager getWebFrameworkManager()
Gets the web framework manager.

Returns:
the web framework manager

getRenderService

public RenderService getRenderService()
Gets the render service.

Returns:
the render service


Copyright © 2009 SpringSource, Inc. All Rights Reserved.