Retrieving Information from a Registry Using JAXR
An application that retrieves information from a registry uses the same connection initialization and information model as one that updates a registry. However, instead of dealing with the lifecycle manager, it deals with the query manager:
BusinessQueryManager queryManager = registryService.getBusinessQueryManager();
There are various things that you can supply to the query manager that affect the information it returns. The most obvious thing is a pattern defining some or all of a name:
Collection namePatterns = new ArrayList(); namePatterns.add("Wid");
In this case, the collection will be passed to the findOrganizations method on the query manager as a set of name patterns to match. By ...
Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.