Name

RegistryService

Synopsis

public interface RegistryService {
// Property Accessor Methods (by property name)
    public abstract BusinessLifeCycleManager getBusinessLifeCycleManager(  ) 
      throws JAXRException;               // L0
    public abstract BusinessQueryManager getBusinessQueryManager(  ) 
      throws JAXRException;               // L0
    public abstract CapabilityProfile getCapabilityProfile(  ) 
      throws JAXRException;               // L0
    public abstract DeclarativeQueryManager getDeclarativeQueryManager(  ) 
       throws JAXRExceptionUnsupportedCapabilityException;   // L1
    public abstract javax.xml.registry.infomodel.ClassificationScheme getDefaultPostalScheme(  ) 
       throws JAXRException;            // L0
                  // Public Instance Methods
    public abstract BulkResponse getBulkResponse(String requestId) 
      throws InvalidRequestExceptionJAXRException;        // L0
    public abstract String makeRegistrySpecificRequest(String request) 
      throws JAXRException;               // L0
}

This interface provides methods that are used to access the principal services provided by a registry provider. To obtain a RegistryService object, first get a Connection or FederatedConnection from a ConnectionFactory, then call its getRegistryService( ) method.

The most important methods in this interface are getBusinessQueryManager( ) and getBusinessLifeCycleManager( ). The former returns a BusinessQueryManager object associated with the registry whose URL is given by the javax.xml.registry.queryManagerURL property of the ConnectionFactory used when creating the RegistryService. BusinessQueryManager lets you query the content ...

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.