Service Registry 3 2005Q4 Developer's Guide

Finding Objects You Published: Examples

For examples of finding objects by classification, see JAXRGetMyObjects.java and JAXRGetMyObjectsByType.java in the directory <INSTALL>/registry/samples/get-objects/src. The first example, JAXRGetMyObjects.java, retrieves all objects you have published. The second example, JAXRGetMyObjectsByType.java, retrieves all the objects you have published of a specified type.

ProcedureTo Run the JAXRGetMyObjects and JAXRGetMyObjectsByType Examples

Steps
  1. Go to the directory <INSTALL>/registry/samples/get-objects.

  2. To find all the objects that you have published, type the following command:


    asant get-obj
    
  3. To find all the objects that you have published of a specified type, type the following command, where type_name is case-sensitive:


    asant get-obj-type -Dtype=type_name