Service Registry 3.1 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

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

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


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