public DefaultPersistenceDelegate (String[] constructorPropertyNames)

Creates a default persistence delegate for a class with a constructor whose arguments are the values of the property names as specified by constructorPropertyNames. The constructor arguments are created by evaluating the property names in the order they are supplied. To use this class to specify a single preferred constructor for use in the serialization of a particular type, we state the names of the properties that make up the constructor's arguments. For example, the Font class which does not define a nullary constructor can be handled with the following persistence delegate:

     new DefaultPersistenceDelegate(new String[]{"name", "style", "size"});
 

Parameters:
constructorPropertyNames    The property names for the arguments of this constructor.

See also:
instantiate