org.kuali.rice.kns.web.struts.action
Class KualiPropertyMessageResourcesFactory
java.lang.Object
org.apache.struts.util.MessageResourcesFactory
org.apache.struts.util.PropertyMessageResourcesFactory
org.kuali.rice.kns.web.struts.action.KualiPropertyMessageResourcesFactory
- All Implemented Interfaces:
- Serializable
public class KualiPropertyMessageResourcesFactory
- extends org.apache.struts.util.PropertyMessageResourcesFactory
A custom MessageResourceFactory that delegates to the ConfigurationService's pre-loaded properties.
This factory can be used in struts-config.xml files by specifying a factory attribute in the tag.
Example:
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.util.MessageResourcesFactory |
clazz, config, factoryClass, returnNull |
Method Summary |
org.apache.struts.util.MessageResources |
createResources(String config)
Uses KualiPropertyMessageResources, which allows multiple property files to be loaded into the defalt message set. |
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 |
KualiPropertyMessageResourcesFactory
public KualiPropertyMessageResourcesFactory()
createResources
public org.apache.struts.util.MessageResources createResources(String config)
- Uses KualiPropertyMessageResources, which allows multiple property files to be loaded into the defalt message set.
- Overrides:
createResources
in class org.apache.struts.util.PropertyMessageResourcesFactory
- See Also:
MessageResourcesFactory.createResources(java.lang.String)
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.