com.clickntap.smart
Class SmartJsonMessageSource

java.lang.Object
  extended by com.clickntap.smart.SmartMessageSource
      extended by com.clickntap.smart.SmartJsonMessageSource
All Implemented Interfaces:
org.springframework.context.MessageSource

public class SmartJsonMessageSource
extends SmartMessageSource


Field Summary
 
Fields inherited from class com.clickntap.smart.SmartMessageSource
messageResource, scriptEngine
 
Constructor Summary
SmartJsonMessageSource()
           
 
Method Summary
 String getMessage(String code, Object[] args, Locale locale)
           
 void start()
           
 
Methods inherited from class com.clickntap.smart.SmartMessageSource
getMessage, getMessage, setMessageResource, setScriptEngine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartJsonMessageSource

public SmartJsonMessageSource()
Method Detail

start

public void start()
           throws Exception
Overrides:
start in class SmartMessageSource
Throws:
Exception

getMessage

public String getMessage(String code,
                         Object[] args,
                         Locale locale)
                  throws org.springframework.context.NoSuchMessageException
Specified by:
getMessage in interface org.springframework.context.MessageSource
Overrides:
getMessage in class SmartMessageSource
Throws:
org.springframework.context.NoSuchMessageException


Copyright © 2014. All rights reserved.