1 6 7 package com.quikj.application.web.talk.jspbeans; 8 9 import java.util.*; 10 import java.io.*; 11 12 import javax.xml.parsers.*; 14 import org.xml.sax.*; 15 16 20 public class ContactCenterCustomerList 21 { 22 23 24 public ContactCenterCustomerList() 25 { 26 } 27 28 public synchronized ContactCenterCustomerProperty getCustomerProperty(String customer) 29 throws FileNotFoundException, IOException, SAXException, AceException, ParserConfigurationException 30 { 31 ContactCenterCustomerProperty property = (ContactCenterCustomerProperty)map.get(customer); 32 if (property != null) 33 { 34 property.updateConfiguration(); 35 return property; 36 } 37 38 property = new ContactCenterCustomerProperty(path, customer); 39 map.put(customer, property); 40 41 return property; 42 } 43 44 48 public java.lang.String getPath() 49 { 50 return path; 51 } 52 53 57 public void setPath(java.lang.String path) 58 { 59 this.path = path; 60 } 61 62 private HashMap map = new HashMap(); private String path; 64 } 65 | Popular Tags |