01: /**
02: * AddressBookSOAPBindingImpl.java
03: *
04: * This file was hand modified from the Emmitter generated code.
05: */package samples.addr;
06:
07: import java.util.Hashtable;
08: import java.util.Map;
09:
10: public class AddressBookSOAPBindingImpl implements AddressBook {
11: private Map addresses = new Hashtable();
12:
13: public void addEntry(java.lang.String name,
14: samples.addr.Address address)
15: throws java.rmi.RemoteException {
16: this .addresses.put(name, address);
17: }
18:
19: public samples.addr.Address getAddressFromName(java.lang.String name)
20: throws java.rmi.RemoteException {
21: return (samples.addr.Address) this.addresses.get(name);
22: }
23: }
|