FileDocCategorySizeDatePackage
ConfigSetImpl.javaAPI DocGlassfish v2 API3564Fri May 04 22:31:18 BST 2007com.sun.enterprise.config.impl

ConfigSetImpl

public class ConfigSetImpl extends ConfigChangeImpl implements Serializable, com.sun.enterprise.config.ConfigSet
A configuration change for an element. Holds xpath, list of changed attributes, their old and new values.

Fields Summary
private Object
cb
private Object[]
cbArray
private String
name
Constructors Summary
public ConfigSetImpl(String parentXpath, String name, Object cb, Object[] cbArray)

        this.parentXpath = parentXpath;
        this.xpath = parentXpath; // temporarily add this to xpath also 
                                  // since it is being used in notification
        this.cb = cb;
        this.cbArray = cbArray;
        this.name = name;
    
Methods Summary
public java.lang.ObjectgetConfigBean()

        return cb;
    
public java.lang.Object[]getConfigBeanArray()

        return cbArray;
    
public java.lang.StringgetConfigChangeType()

        return TYPE_SET;
    
public java.lang.StringgetName()

        return name;
    
public java.lang.StringtoString()

        String s = (cb == null) ? "" : cb.toString();
        String ret = s + ":set parentXpath=" + parentXpath +"\n";
        return ret;