org.apache.struts.util
Class PropertyMessageResourcesFactory

java.lang.Object
  extended by org.apache.struts.util.MessageResourcesFactory
      extended by org.apache.struts.util.PropertyMessageResourcesFactory
All Implemented Interfaces:
Serializable

public class PropertyMessageResourcesFactory
extends MessageResourcesFactory

Factory for PropertyMessageResources instances. The configuration paramter for such instances is the base Java package name of the resources entries from which our keys and values will be loaded.

Version:
$Rev: 480549 $ $Date: 2006-11-29 06:16:15 -0600 (Wed, 29 Nov 2006) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.util.MessageResourcesFactory
clazz, config, factoryClass, returnNull
 
Constructor Summary
PropertyMessageResourcesFactory()
           
 
Method Summary
 MessageResources createResources(String config)
          Create and return a newly instansiated MessageResources.
 
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 Detail

PropertyMessageResourcesFactory

public PropertyMessageResourcesFactory()
Method Detail

createResources

public MessageResources createResources(String config)
Create and return a newly instansiated MessageResources. This method must be implemented by concrete subclasses.

Specified by:
createResources in class MessageResourcesFactory
Parameters:
config - Configuration parameter(s) for the requested bundle


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.