Service Registry 3 2005Q4 Developer's Guide

Finding Objects by Name: Example

For an example of finding objects by name, see JAXRSearchByName.java in the directory <INSTALL>/registry/samples/search-name/src.

ProcedureTo Run the JAXRSearchByName Example

Steps
  1. Go to the directory <INSTALL>/registry/samples/search-name.

  2. Type the following command, specifying a string value:


    asant run -Dname=string
    

    The program performs a case-insensitive search, returning all objects whose names contain the specified string. The program also displays the object’s classifications, external identifiers, external links, slots, and audit trail.