com.poscoict.glueframework.web.control.spring
Class GlueXMLViewController

java.lang.Object
  extended by com.poscoict.glueframework.web.control.spring.GlueAbstractController
      extended by com.poscoict.glueframework.web.control.spring.GlueXMLViewController
All Implemented Interfaces:
org.springframework.web.servlet.mvc.Controller

@Controller
public class GlueXMLViewController
extends GlueAbstractController

이 Controller는 XML 설정을 통한 View를 컨트롤하는 Controller이다.

 크게 두 가지 기능을 갖는다.
   1. Glue Service 호출 전에 Upload된 Excel 파일에 대한 처리
      - Excel 내용을 파싱하여  GlueContext에 List>로 넣는다.
   2. Glue Service 호출 후 View 처리 
      - [view-name]에 xml 파일에 정의한 View 명을 지정한다
 


Field Summary
 
Fields inherited from class com.poscoict.glueframework.web.control.spring.GlueAbstractController
logger
 
Constructor Summary
GlueXMLViewController()
           
 
Method Summary
 void afterDoAction(GlueWebContext ctx)
           
 void preDoAction(GlueWebContext ctx)
           
 org.springframework.web.servlet.ModelAndView setModelAndView(GlueWebContext ctx)
          XML View Resolver로 view명과 GlueContext를 넘겨준다.
 
Methods inherited from class com.poscoict.glueframework.web.control.spring.GlueAbstractController
getViewPage, handleRequest, processUploadFile, setCookie, setErrorPage, setHeader, setRequestAttr, setRequestParam, setSessionAttr, setViewPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueXMLViewController

public GlueXMLViewController()
Method Detail

preDoAction

public void preDoAction(GlueWebContext ctx)
Specified by:
preDoAction in class GlueAbstractController

afterDoAction

public void afterDoAction(GlueWebContext ctx)
Specified by:
afterDoAction in class GlueAbstractController

setModelAndView

public org.springframework.web.servlet.ModelAndView setModelAndView(GlueWebContext ctx)
XML View Resolver로 view명과 GlueContext를 넘겨준다. [viewname]으로 지정된 값이 없으면 GlueSimpleController의 setModelAndView를 호출한다

Specified by:
setModelAndView in class GlueAbstractController


Copyright © 2013–2014 POSCO ICT SW제품기술팀. All rights reserved.