com.opensymphony.module.propertyset
Class PropertySetManager

java.lang.Object
  extended bycom.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$

Constructor Summary
PropertySetManager()
           
 
Method Summary
static void clone(PropertySet src, PropertySet dest)
          Copy the contents of one propertyset into another.
static PropertySet getInstance(java.lang.String name, java.util.Map args)
          Get a propertyset by name.
static PropertySet getInstance(java.lang.String name, java.util.Map args, java.lang.ClassLoader loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertySetManager

public PropertySetManager()
Method Detail

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.

See www.opensymphony.com for more information.

Copyright 2000-2005 - OpenSymphony