RegistryService (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.registry Interface RegistryService


public interface RegistryService

This is the principal interface implemented by a JAXR 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 JAXR provider.

作者:
Farrukh S. Najmi
另请参见:
Connection

方法摘要
 BulkResponse getBulkResponse(String requestId)
          Returns the BulkResponse associated with specified requestId.
 BusinessLifeCycleManager getBusinessLifeCycleManager()
          Returns the BusinessLifeCycleManager object implemented by the JAXR provider.
 BusinessQueryManager getBusinessQueryManager()
          Returns the BusinessQueryManager object implemented by the JAXR provider.
 CapabilityProfile getCapabilityProfile()
          Returns the CapabilityProfile for the JAXR provider.
 DeclarativeQueryManager getDeclarativeQueryManager()
          Returns the DeclarativeQueryManager object implemented by the JAXR provider.
 ClassificationScheme getDefaultPostalScheme()
          Gets the default user-defined postal scheme for codifying the attributes of PostalAddress.
 String makeRegistrySpecificRequest(String 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.
 

方法详细信息

getCapabilityProfile

CapabilityProfile getCapabilityProfile()
                                       throws JAXRException
Returns the CapabilityProfile for the JAXR provider.

Capability Level: 0

返回:
the CapabilityProfile for a JAXR provider
抛出异常:
JAXRException - If the JAXR provider encounters an internal error
另请参见:
LifeCycleManager

getBusinessLifeCycleManager

BusinessLifeCycleManager getBusinessLifeCycleManager()
                                                     throws JAXRException
Returns the BusinessLifeCycleManager object implemented by the JAXR provider.

Capability Level: 0

返回:
the BusinessLifeCycleManager
抛出异常:
JAXRException - If the JAXR provider encounters an internal error
另请参见:
LifeCycleManager

getBusinessQueryManager

BusinessQueryManager getBusinessQueryManager()
                                             throws JAXRException
Returns the BusinessQueryManager object implemented by the JAXR provider.

Capability Level: 0

返回:
the BusinessQueryManaer
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

getDeclarativeQueryManager

DeclarativeQueryManager getDeclarativeQueryManager()
                                                   throws JAXRException,
                                                          UnsupportedCapabilityException
Returns the DeclarativeQueryManager object implemented by the JAXR provider.

Capability Level: 1

返回:
the DeclarativeQueryManager
抛出异常:
JAXRException - If the JAXR provider encounters an internal error
UnsupportedCapabilityException

getBulkResponse

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

参数:
requestId - the id for a previous asynchronous request
返回:
the BulkResponse that contains the result for the specified request
抛出异常:
InvalidRequestException - if no responses exist for specified requestId
JAXRException - If the JAXR provider encounters an internal error

getDefaultPostalScheme

ClassificationScheme getDefaultPostalScheme()
                                            throws JAXRException
Gets the default user-defined postal scheme for codifying the attributes of PostalAddress.

Capability Level: 0

返回:
the ClassificationScheme that is the default postal scheme
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

makeRegistrySpecificRequest

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

参数:
request - the registry-specific request in a String representation
返回:
the String that is the XML response in a registry-specific manner
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.