egovframework.rfc3.common.util
Class EgovMessageSource

java.lang.Object
  extended by org.springframework.context.support.MessageSourceSupport
      extended by org.springframework.context.support.AbstractMessageSource
          extended by org.springframework.context.support.ReloadableResourceBundleMessageSource
              extended by egovframework.rfc3.common.util.EgovMessageSource
All Implemented Interfaces:
org.springframework.context.HierarchicalMessageSource, org.springframework.context.MessageSource, org.springframework.context.ResourceLoaderAware

public class EgovMessageSource
extends org.springframework.context.support.ReloadableResourceBundleMessageSource
implements org.springframework.context.MessageSource

메시지 리소스 사용을 위한 MessageSource 인터페이스 및 ReloadableResourceBundleMessageSource 클래스의 구현체

Since:
2009.06.01
Version:
1.0
Author:
공통서비스 개발팀 이문준
See Also:
 << 개정이력(Modification Information) >>
   
   수정일      수정자           수정내용
  -------    --------    ---------------------------
   2009.03.11  이문준          최초 생성

 

Constructor Summary
EgovMessageSource()
           
 
Method Summary
 void alert(java.lang.String message, javax.servlet.http.HttpServletResponse response)
           
 void alert(java.lang.String message, javax.servlet.http.HttpServletResponse response, java.lang.String script)
           
 javax.servlet.http.HttpServletResponse alertReturn(javax.servlet.http.HttpServletResponse response, java.lang.String script)
           
 javax.servlet.http.HttpServletResponse alertReturn(java.lang.String message, javax.servlet.http.HttpServletResponse response)
           
 javax.servlet.http.HttpServletResponse alertReturn(java.lang.String message, javax.servlet.http.HttpServletResponse response, java.lang.String script)
           
 java.lang.String getMessage(java.lang.String code)
          정의된 메세지 조회
 java.lang.String getMessage(java.lang.String code, java.util.Locale locale)
           
 org.springframework.context.support.ReloadableResourceBundleMessageSource getReloadableResourceBundleMessageSource()
          getReloadableResourceBundleMessageSource()
 void setReloadableResourceBundleMessageSource(org.springframework.context.support.ReloadableResourceBundleMessageSource reloadableResourceBundleMessageSource)
          getReloadableResourceBundleMessageSource()
 
Methods inherited from class org.springframework.context.support.ReloadableResourceBundleMessageSource
clearCache, clearCacheIncludingAncestors, setBasename, setBasenames, setCacheSeconds, setDefaultEncoding, setFallbackToSystemLocale, setFileEncodings, setPropertiesPersister, setResourceLoader, toString
 
Methods inherited from class org.springframework.context.support.AbstractMessageSource
getMessage, getMessage, getMessage, getParentMessageSource, setParentMessageSource, setUseCodeAsDefaultMessage
 
Methods inherited from class org.springframework.context.support.MessageSourceSupport
setAlwaysUseMessageFormat
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.context.MessageSource
getMessage, getMessage, getMessage
 

Constructor Detail

EgovMessageSource

public EgovMessageSource()
Method Detail

setReloadableResourceBundleMessageSource

public void setReloadableResourceBundleMessageSource(org.springframework.context.support.ReloadableResourceBundleMessageSource reloadableResourceBundleMessageSource)
getReloadableResourceBundleMessageSource()

Parameters:
reloadableResourceBundleMessageSource - - resource MessageSource

getReloadableResourceBundleMessageSource

public org.springframework.context.support.ReloadableResourceBundleMessageSource getReloadableResourceBundleMessageSource()
getReloadableResourceBundleMessageSource()

Returns:
ReloadableResourceBundleMessageSource

getMessage

public java.lang.String getMessage(java.lang.String code)
정의된 메세지 조회

Parameters:
code - - 메세지 코드
Returns:
String

getMessage

public java.lang.String getMessage(java.lang.String code,
                                   java.util.Locale locale)

alert

public void alert(java.lang.String message,
                  javax.servlet.http.HttpServletResponse response)
           throws java.lang.Exception
Throws:
java.lang.Exception

alert

public void alert(java.lang.String message,
                  javax.servlet.http.HttpServletResponse response,
                  java.lang.String script)
           throws java.lang.Exception
Throws:
java.lang.Exception

alertReturn

public javax.servlet.http.HttpServletResponse alertReturn(java.lang.String message,
                                                          javax.servlet.http.HttpServletResponse response,
                                                          java.lang.String script)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

alertReturn

public javax.servlet.http.HttpServletResponse alertReturn(java.lang.String message,
                                                          javax.servlet.http.HttpServletResponse response)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

alertReturn

public javax.servlet.http.HttpServletResponse alertReturn(javax.servlet.http.HttpServletResponse response,
                                                          java.lang.String script)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception