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
FieldsModifier and TypeFieldDescription(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 -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.util.MessageResources
createResources
(String config) Methods inherited from class org.apache.struts.util.MessageResourcesFactory
createFactory, getConfig, getFactoryClass, getReturnNull, setConfig, setFactoryClass, setReturnNull
-
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
- Specified by:
createResources
in classorg.apache.struts.util.MessageResourcesFactory
-