all sub-implementation of this class can use a dispatch table to map xml element to method name on the descriptor class for setting the element value.returnthe map with the element name as a key, the setter method as a value Map table = super.getDispatchTable(); table.put(RuntimeTagNames.NAME, "setName"); table.put(RuntimeTagNames.PASSWORD, "setPassword"); return table;
Map table = super.getDispatchTable(); table.put(RuntimeTagNames.NAME, "setName"); table.put(RuntimeTagNames.PASSWORD, "setPassword"); return table;
write the descriptor class to a DOM tree and return itparamparent node for the DOM treeparamnode nameparamthe descriptor to writereturnthe DOM tree top node Node ejbRef = appendChild(parent, nodeName); appendTextChild(ejbRef, RuntimeTagNames.NAME, descriptor.getName()); appendTextChild(ejbRef, RuntimeTagNames.PASSWORD, descriptor.getPassword()); return ejbRef;
Node ejbRef = appendChild(parent, nodeName); appendTextChild(ejbRef, RuntimeTagNames.NAME, descriptor.getName()); appendTextChild(ejbRef, RuntimeTagNames.PASSWORD, descriptor.getPassword()); return ejbRef;