Name
QueryManager
Synopsis
public interface QueryManager { // Public Instance Methods public abstract javax.xml.registry.infomodel.RegistryObject getRegistryObject(Stringid
) throws JAXRException; // L1 public abstract javax.xml.registry.infomodel.RegistryObject getRegistryObject(Stringid
, StringobjectType
) throws JAXRException; // L0 public abstract BulkResponse getRegistryObjects( ) throws JAXRException; // L0 public abstract BulkResponse getRegistryObjects(StringobjectType
) throws JAXRException; // L0 public abstract BulkResponse getRegistryObjects(CollectionobjectKeys
) throws JAXRException; // L1 public abstract BulkResponse getRegistryObjects(CollectionobjectKeys
, StringobjectTypes
) throws JAXRException; // L0 public abstract RegistryService getRegistryService( ) throws JAXRException; // L0 }
QueryManager
provides methods that allow objects
in the registry to be retrieved based on type and/or identifier. The
only way to obtain a QueryManager
object is by
calling the getBusinessQueryManager( )
or the
getDeclarativeQueryManager( )
method on
RegistryService
, which both return one of the two
derived interfaces of QueryManager
defined by the
API. The QueryManager
getRegistryService( )
method returns the RegistryService
object from which it was obtained.
The zero-argument getRegistryObjects( )
returns a
BulkResponse
containing all of the objects in the
registry belonging to the calling user, while
getRegistryObject(String
objectType)
returns the subset of those objects that are ...
Get Java Web Services in a Nutshell 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.