Examples of GetBusinessDetailExt


Examples of org.apache.juddi.datatype.request.GetBusinessDetailExt

    return obj;
  }

  public void marshal(RegistryObject object,Element parent)
  {
    GetBusinessDetailExt request = (GetBusinessDetailExt)object;
    Element element = parent.getOwnerDocument().createElement(TAG_NAME);
    AbstractHandler handler = null;

    String generic = request.getGeneric();
    if (generic != null)
      element.setAttribute("generic",generic);

    Vector keyVector = request.getBusinessKeyVector();
    if ((keyVector!=null) && (keyVector.size() > 0))
    {
      handler = maker.lookup(BusinessKeyHandler.TAG_NAME);
      for (int i=0; i<keyVector.size(); i++)
        handler.marshal(new BusinessKey((String)keyVector.elementAt(i)),element);
View Full Code Here

Examples of org.apache.juddi.datatype.request.GetBusinessDetailExt

    AbstractHandler handler = maker.lookup(GetBusinessDetailExtHandler.TAG_NAME);

    Element parent = XMLUtils.newRootElement();
    Element child = null;

    GetBusinessDetailExt service = new GetBusinessDetailExt();
    service.addBusinessKey("1bd50f65-9671-41ae-8d13-b3b5a5afcda0");
    service.addBusinessKey(new BusinessKey("1fbe67e6-f8b5-4743-a23f-9c13e4273d9f"));

    System.out.println();

    RegistryObject regObject = service;
    handler.marshal(regObject,parent);
View Full Code Here

Examples of org.apache.juddi.datatype.request.GetBusinessDetailExt

   *
   */
  public RegistryObject execute(RegistryObject regObject)
    throws RegistryException
  {
    GetBusinessDetailExt request = (GetBusinessDetailExt)regObject;
    String generic = request.getGeneric();
    Vector businessKeyVector = request.getBusinessKeyVector();

    // aquire a jUDDI datastore instance
    DataStore dataStore = DataStoreFactory.getDataStore();

    try
View Full Code Here

Examples of org.apache.juddi.datatype.request.GetBusinessDetailExt

    handler = ( GetBusinessDetailExtHandler)maker.lookup( GetBusinessDetailExtHandler.TAG_NAME);
  }

  private RegistryObject getRegistryObject()
  {
    GetBusinessDetailExt object = new GetBusinessDetailExt();
    object.addBusinessKey("1bd50f65-9671-41ae-8d13-b3b5a5afcda0");
    object.addBusinessKey(new BusinessKey("1fbe67e6-f8b5-4743-a23f-9c13e4273d9f"));

    return object;

  }
View Full Code Here

Examples of org.apache.juddi.datatype.request.GetBusinessDetailExt

   * @exception RegistryException;
   */
  public BusinessDetailExt getBusinessDetailExt(Vector businessKeyVector)
    throws RegistryException
  {
    GetBusinessDetailExt request = new GetBusinessDetailExt();
    request.setBusinessKeyVector(businessKeyVector);

    return (BusinessDetailExt)execute(request);
  }
View Full Code Here
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.