1 23 24 31 package com.sun.enterprise.config.impl; 32 33 import java.io.Serializable ; 34 import java.util.HashMap ; 35 import java.util.Set ; 36 import java.util.Iterator ; 37 38 42 public class ConfigSetImpl extends ConfigChangeImpl implements com.sun.enterprise.config.ConfigSet, Serializable { 43 44 private Object cb; 45 private Object [] cbArray; 47 private String name; 48 49 public String getConfigChangeType() { 50 return TYPE_SET; 51 } 52 53 public ConfigSetImpl(String parentXpath, String name, Object cb, Object [] cbArray) { 54 this.parentXpath = parentXpath; 55 this.xpath = parentXpath; this.cb = cb; 58 this.cbArray = cbArray; 59 this.name = name; 60 } 61 62 public Object getConfigBean() { 63 return cb; 64 } 65 66 public Object [] getConfigBeanArray() { 67 return cbArray; 68 } 69 public String getName() { 70 return name; 71 } 72 73 public String toString() { 74 String s = (cb == null) ? "" : cb.toString(); 75 String ret = s + ":set parentXpath=" + parentXpath +"\n"; 76 return ret; 77 } 78 } 79 | Popular Tags |