kr.co.hit.live.web.action
Class WebApplicationContext

java.lang.Object
  extended by kr.co.hit.live.web.action.WebApplicationContext
All Implemented Interfaces:
ApplicationContext

public class WebApplicationContext
extends Object
implements ApplicationContext

WebAction이 실행될 때 필요한 정보들을 제공한다.

Since:
4.0
Author:
김형도

Field Summary
static String WEB_APPLICATION_CONTEXT_ATTRIBUTE
           
 
Constructor Summary
WebApplicationContext(String appName)
           
 
Method Summary
 void clear()
           
 String getApplicationName()
          어플리케이션의 논리적인 이름을 반환한다.
 Messages getMessages()
           
 ServiceContainer getServiceContainer()
          어플리케이션에서 사용하는 서비스 컨테이너 객체를 반환한다.
 javax.servlet.ServletContext getServletContext()
           
 void setMessages(Messages msg)
           
 void setServiceContainer(ServiceContainer svcContainer)
           
 void setServletContext(javax.servlet.ServletContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEB_APPLICATION_CONTEXT_ATTRIBUTE

public static final String WEB_APPLICATION_CONTEXT_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

WebApplicationContext

public WebApplicationContext(String appName)
Method Detail

setServletContext

public void setServletContext(javax.servlet.ServletContext ctx)

getServletContext

public javax.servlet.ServletContext getServletContext()

getApplicationName

public String getApplicationName()
Description copied from interface: ApplicationContext
어플리케이션의 논리적인 이름을 반환한다.

Specified by:
getApplicationName in interface ApplicationContext
Returns:

setServiceContainer

public void setServiceContainer(ServiceContainer svcContainer)

getServiceContainer

public ServiceContainer getServiceContainer()
Description copied from interface: ApplicationContext
어플리케이션에서 사용하는 서비스 컨테이너 객체를 반환한다.

Specified by:
getServiceContainer in interface ApplicationContext
Returns:

setMessages

public void setMessages(Messages msg)

getMessages

public Messages getMessages()

clear

public void clear()


Copyright © 2014. All Rights Reserved.