Package org.apache.juddi.registry.rmi

Source Code of org.apache.juddi.registry.rmi.InquiryService

package org.apache.juddi.registry.rmi;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import org.w3c.dom.Element;
import org.w3c.dom.Node;

public class InquiryService extends UnicastRemoteObject
  implements Inquiry
{
  private static final long serialVersionUID = 1L;

  public InquiryService() throws RemoteException {
    super();
    // TODO Auto-generated constructor stub
  }

  public Node inquire(Element request) throws RemoteException {
    Node response = null;
    org.apache.juddi.registry.local.InquiryService inquiryService =
      new org.apache.juddi.registry.local.InquiryService();
    try {
      response = inquiryService.inquire(request);
    } catch (Exception e) {
      throw new RemoteException(e.getLocalizedMessage(), e);
    }
    return response;
  }
 


}
TOP

Related Classes of org.apache.juddi.registry.rmi.InquiryService

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.