Top Description Methods
javax.xml.registry

public Interface RegistryService

Imports
java.util.*, javax.xml.registry.infomodel.*

This is the principal interface implemented by a Jakarta XML Registries provider. A registry client can get this interface from a Connection to a registry. It provides the methods that are used by the client to discover various capability specific interfaces implemented by the Jakarta XML Registries provider.
Author
Farrukh S. Najmi
See Also
Connection

Method Summary

Modifier and TypeMethod and Description
public BulkResponse

Returns:

the BulkResponse that contains the result for the specified request
getBulkResponse
(String
the id for a previous asynchronous request
requestId
)

Returns the BulkResponse associated with specified requestId.

public BusinessLifeCycleManager

Returns:

the BusinessLifeCycleManager
getBusinessLifeCycleManager
()

Returns the BusinessLifeCycleManager object implemented by the Jakarta XML Registries provider.

public BusinessQueryManager

Returns:

the BusinessQueryManaer
getBusinessQueryManager
()

Returns the BusinessQueryManager object implemented by the Jakarta XML Registries provider.

public CapabilityProfile

Returns:

the CapabilityProfile for a Jakarta XML Registries provider
getCapabilityProfile
()

Returns the CapabilityProfile for the Jakarta XML Registries provider.

public DeclarativeQueryManager

Returns:

the DeclarativeQueryManager
getDeclarativeQueryManager
()

Returns the DeclarativeQueryManager object implemented by the Jakarta XML Registries provider.

public ClassificationScheme

Returns:

the ClassificationScheme that is the default postal scheme
getDefaultPostalScheme
()

Gets the default user-defined postal scheme for codifying the attributes of PostalAddress.

public String

Returns:

the String that is the XML response in a registry-specific manner
makeRegistrySpecificRequest
(String
the registry-specific request in a String representation
request
)

Takes a String that is an XML request in a registry-specific format, sends the request to the registry, and returns a String that is the registry-specific XML response.

Method Detail

getBulkResponseback to summary
public BulkResponse getBulkResponse(String requestId) throws InvalidRequestException, JAXRException

Returns the BulkResponse associated with specified requestId. Once a client retrieves a BulkResponse for a particular requestId any subsequent calls to retrieve the Bulkresponse for the same requestId should result in an InvalidRequestException.

Capability Level: 0
Parameters
requestId:String

the id for a previous asynchronous request

Returns:BulkResponse

the BulkResponse that contains the result for the specified request

Exceptions
InvalidRequestException:
if no responses exist for specified requestId
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
getBusinessLifeCycleManagerback to summary
public BusinessLifeCycleManager getBusinessLifeCycleManager() throws JAXRException

Returns the BusinessLifeCycleManager object implemented by the Jakarta XML Registries provider.

Capability Level: 0
Returns:BusinessLifeCycleManager

the BusinessLifeCycleManager

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
See Also
javax.xml.registry.BusinessLifeCycleManager, LifeCycleManager
getBusinessQueryManagerback to summary
public BusinessQueryManager getBusinessQueryManager() throws JAXRException

Returns the BusinessQueryManager object implemented by the Jakarta XML Registries provider.

Capability Level: 0
Returns:BusinessQueryManager

the BusinessQueryManaer

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
See Also
BusinessQueryManager
getCapabilityProfileback to summary
public CapabilityProfile getCapabilityProfile() throws JAXRException

Returns the CapabilityProfile for the Jakarta XML Registries provider.

Capability Level: 0
Returns:CapabilityProfile

the CapabilityProfile for a Jakarta XML Registries provider

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
See Also
javax.xml.registry.CapabilityProfile, LifeCycleManager
getDeclarativeQueryManagerback to summary
public DeclarativeQueryManager getDeclarativeQueryManager() throws JAXRException, UnsupportedCapabilityException

Returns the DeclarativeQueryManager object implemented by the Jakarta XML Registries provider.

Capability Level: 1
Returns:DeclarativeQueryManager

the DeclarativeQueryManager

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
UnsupportedCapabilityException:
If the Jakarta XML Registries provider can not satisfy the request
See Also
DeclarativeQueryManager
getDefaultPostalSchemeback to summary
public ClassificationScheme getDefaultPostalScheme() throws JAXRException

Gets the default user-defined postal scheme for codifying the attributes of PostalAddress.

Capability Level: 0
Returns:ClassificationScheme

the ClassificationScheme that is the default postal scheme

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
makeRegistrySpecificRequestback to summary
public String makeRegistrySpecificRequest(String request) throws JAXRException

Takes a String that is an XML request in a registry-specific format, sends the request to the registry, and returns a String that is the registry-specific XML response.

Capability Level: 0
Parameters
request:String

the registry-specific request in a String representation

Returns:String

the String that is the XML response in a registry-specific manner

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error