com.opensymphony.module.propertyset
Class PropertySetManager
java.lang.Object
com.opensymphony.module.propertyset.PropertySetManager
- public class PropertySetManager
- extends java.lang.Object
The PropertySetManager is a factory for all the different types of
propertysets registered.
- Version:
- $Revision: 1.4 $
- Author:
- $author$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertySetManager
public PropertySetManager()
getInstance
public static PropertySet getInstance(java.lang.String name,
java.util.Map args)
- Get a propertyset by name.
- Parameters:
name - The name of the propertyset as registered in propertyset.xml.
For example 'ejb', or 'memory'.args - The arguments to pass to the propertyset for initialization.
Consult the javadocs for a particular propertyset to see what arguments
it requires and supports.
getInstance
public static PropertySet getInstance(java.lang.String name,
java.util.Map args,
java.lang.ClassLoader loader)
- Parameters:
loader - The classloader to use for loading the propertyset.- See Also:
getInstance(String, java.util.Map)
clone
public static void clone(PropertySet src,
PropertySet dest)
- Copy the contents of one propertyset into another.
- Parameters:
src - The propertyset to copy from.dest - The propertyset to copy into.
|