Service Registry 3.1 Developer's Guide

ProcedureTo Run the JAXRGetMyObjects and JAXRGetMyObjectsByType Examples

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

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


    Ant-base/ant 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:


    Ant-base/ant get-obj-type -Dtype=type-name
    

    The JAXRGetMyObjectsByType program passes the object type as a string argument to QueryManager.getRegistryObjects in order to accept user input as simply as possible. However, developers should use the constants defined by the LifeCycleManager interface.