Class AppMessageResourcesFactory

java.lang.Object
org.apache.struts.util.MessageResourcesFactory
com.softslate.commerce.customer.core.AppMessageResourcesFactory
All Implemented Interfaces:
Serializable

public class AppMessageResourcesFactory extends org.apache.struts.util.MessageResourcesFactory
Extension of the Struts MessageResourcesFactory class which creates instances of AppMessageResources instead of the Struts PropertyMessageResources class. This factory class is referred to in the struts-config.xml files under the "/WEB-INF/conf" directory. It is used as the messages are placed in the application scope during start up.
Author:
David Tobey
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static org.apache.commons.logging.Log
     
    private static final long
     

    Fields inherited from class org.apache.struts.util.MessageResourcesFactory

    clazz, config, factoryClass, returnNull
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.struts.util.MessageResources
     

    Methods inherited from class org.apache.struts.util.MessageResourcesFactory

    createFactory, getConfig, getFactoryClass, getReturnNull, setConfig, setFactoryClass, setReturnNull

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • log

      static org.apache.commons.logging.Log log
  • Constructor Details

    • AppMessageResourcesFactory

      public AppMessageResourcesFactory()
  • Method Details

    • createResources

      public org.apache.struts.util.MessageResources createResources(String config)
      Specified by:
      createResources in class org.apache.struts.util.MessageResourcesFactory