com.softslate.commerce.customer.core
Class AppMessageResourcesFactory

java.lang.Object
  extended by org.apache.struts.util.MessageResourcesFactory
      extended by com.softslate.commerce.customer.core.AppMessageResourcesFactory
All Implemented Interfaces:
java.io.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:
Serialized Form

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private static long serialVersionUID
           
 
Fields inherited from class org.apache.struts.util.MessageResourcesFactory
clazz, config, factoryClass, returnNull
 
Constructor Summary
AppMessageResourcesFactory()
           
 
Method Summary
 org.apache.struts.util.MessageResources createResources(java.lang.String config)
           
 
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 Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

log

static org.apache.commons.logging.Log log
Constructor Detail

AppMessageResourcesFactory

public AppMessageResourcesFactory()
Method Detail

createResources

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


Copyright © SoftSlate, LLC 2003–2005