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.Logprivate static final longFields inherited from class org.apache.struts.util.MessageResourcesFactory
clazz, config, factoryClass, returnNull -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.util.MessageResourcescreateResources(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:
createResourcesin classorg.apache.struts.util.MessageResourcesFactory
-