org.mule.example.stockquote
Class LocaleMessage

java.lang.Object
  extended by org.mule.config.i18n.MessageFactory
      extended by org.mule.example.stockquote.LocaleMessage

public class LocaleMessage
extends MessageFactory

LocaleMessage is a convenience interface for retrieving internationalised strings from resource bundles. The actual work is done by the MessageFactory in core.


Field Summary
 
Fields inherited from class org.mule.config.i18n.MessageFactory
DEFAULT_RELOAD_CONTROL, logger, reloadControl
 
Constructor Summary
LocaleMessage()
           
 
Method Summary
protected  ClassLoader getClassLoader()
          Override this method to return the classloader for the bundle/module which contains the needed resource files.
static String getStockQuoteMessage(String symbol, String name, String date, String last, String change, String open, String high, String low, String volume, String previousClose)
           
 
Methods inherited from class org.mule.config.i18n.MessageFactory
createMessage, createMessage, createMessage, createMessage, createMessage, createStaticMessage, getBundlePath, getReloadControl, getString, getString, getString, getString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleMessage

public LocaleMessage()
Method Detail

getStockQuoteMessage

public static String getStockQuoteMessage(String symbol,
                                          String name,
                                          String date,
                                          String last,
                                          String change,
                                          String open,
                                          String high,
                                          String low,
                                          String volume,
                                          String previousClose)

getClassLoader

protected ClassLoader getClassLoader()
Description copied from class: MessageFactory
Override this method to return the classloader for the bundle/module which contains the needed resource files.

Overrides:
getClassLoader in class MessageFactory


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.