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

@Deprecated public class KualiPropertyMessageResourcesFactory extends org.apache.struts.util.PropertyMessageResourcesFactory
Deprecated.
KNS Struts deprecated, use KRAD and the Spring MVC framework.
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 invalid input: '<'message-resources/> tag Example: invalid input: '<'message-resources factory="KualiPropertyMessageResourcesFactory" parameter="SampleApplicationResources" />

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Field Summary

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

    clazz, config, factoryClass, returnNull
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.struts.util.MessageResources
    Deprecated.
    Uses KualiPropertyMessageResources, which allows multiple property files to be loaded into the default 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
  • Constructor Details

    • KualiPropertyMessageResourcesFactory

      public KualiPropertyMessageResourcesFactory()
      Deprecated.
  • Method Details

    • createResources

      public org.apache.struts.util.MessageResources createResources(String config)
      Deprecated.
      Uses KualiPropertyMessageResources, which allows multiple property files to be loaded into the default message set
      Overrides:
      createResources in class org.apache.struts.util.PropertyMessageResourcesFactory
      See Also:
      • MessageResourcesFactory.createResources(java.lang.String)