View Javadoc

1   package org.apache.juddi.registry.rmi;
2   
3   import java.rmi.RemoteException;
4   import java.rmi.server.UnicastRemoteObject;
5   
6   import org.w3c.dom.Element;
7   import org.w3c.dom.Node;
8   
9   public class InquiryService extends UnicastRemoteObject
10  	implements Inquiry
11  {
12  	private static final long serialVersionUID = 1L;
13  
14  	public InquiryService() throws RemoteException {
15  		super();
16  		// TODO Auto-generated constructor stub
17  	}
18  
19  	public Node inquire(Element request) throws RemoteException {
20  		Node response = null;
21  		org.apache.juddi.registry.local.InquiryService inquiryService =
22  			new org.apache.juddi.registry.local.InquiryService();
23  		try {
24  			response = inquiryService.inquire(request);
25  		} catch (Exception e) {
26  			throw new RemoteException(e.getLocalizedMessage(), e);
27  		}
28  		return response;
29  	}
30  	
31  
32  
33  }