public NamespacePrefixManager(BPELResource resource) {
this.resource = resource;
myNamespacePrefixMap = new Hashtable();
// for performance, just register the process namespace map first
Process process = resource.getProcess();
BPELResource.NotifierMap nsMap =
(BPELResource.NotifierMap)resource.getPrefixToNamespaceMap(process);
myNamespacePrefixMap.put(process, nsMap.reserve());
// listen to the process namespace map if any extension model modify this map;
nsMap.addListener(this);