KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > wsdl > arrays3 > AddrBookServiceImpl


1 package test.wsdl.arrays3;
2
3 public class AddrBookServiceImpl implements AddrBookService {
4     AddressBookImpl addressBook;
5
6     public AddrBookServiceImpl() {
7         addressBook = new AddressBookImpl();
8     }
9
10     public void addEntry(String JavaDoc name, Address address) {
11         addressBook.addEntry(name, address);
12     }
13
14     public Address[] getAddressFromNames(String JavaDoc[] name) {
15         return addressBook.getAddressFromNames(name);
16     }
17
18     public Address getAddressFromName(String JavaDoc name) {
19         return addressBook.getAddressFromName(name);
20     }
21
22     public Address[] echoAddresses(Address[] addrs) {
23         return addrs;
24     }
25 }
26
Popular Tags