|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.registry Interface RegistryService
public interface RegistryService
此类是 JAXR 提供者实现的主体接口。注册表客户端可通过到某个注册表的 Connection 获取此接口。它提供客户端使用的方法,以发现 JAXR 提供者实现的各种特定于功能的接口。
See also | javax.xml.registry.Connection |
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.
- Author:
- Farrukh S. Najmi
- See Also:
Connection
Method Summary | |
---|---|
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. |
Method Detail |
---|
public CapabilityProfile
getCapabilityProfile() throws JAXRException
返回 JAXR 提供者的 CapabilityProfile。
- 功能级别:0
return | JAXR 提供者的 CapabilityProfile |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
associates | <{javax.xml.registry.CapabilityProfile}> |
See also | javax.xml.registry.LifeCycleManager |
getCapabilityProfile
CapabilityProfile getCapabilityProfile() throws JAXRException
- Returns the CapabilityProfile for the JAXR provider.
- Capability Level: 0
- Returns:
- the CapabilityProfile for a JAXR provider
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
LifeCycleManager
public BusinessLifeCycleManager
getBusinessLifeCycleManager() throws JAXRException
返回 JAXR 提供者实现的 BusinessLifeCycleManager 对象。
- 功能级别:0
return | BusinessLifeCycleManager |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
associates | <{javax.xml.registry.BusinessLifeCycleManager}> |
See also | javax.xml.registry.LifeCycleManager |
getBusinessLifeCycleManager
BusinessLifeCycleManager getBusinessLifeCycleManager() throws JAXRException
- Returns the BusinessLifeCycleManager object implemented by the JAXR provider.
- Capability Level: 0
- Returns:
- the BusinessLifeCycleManager
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
LifeCycleManager
public BusinessQueryManager
getBusinessQueryManager() throws JAXRException
返回 JAXR 提供者实现的 BusinessQueryManager 对象。
- 功能级别:0
return | BusinessQueryManaer |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
associates | <{BusinessQueryManager}> |
directed |
getBusinessQueryManager
BusinessQueryManager getBusinessQueryManager() throws JAXRException
- Returns the BusinessQueryManager object implemented by the JAXR provider.
- Capability Level: 0
- Returns:
- the BusinessQueryManaer
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public DeclarativeQueryManager
getDeclarativeQueryManager() throws JAXRException, UnsupportedCapabilityException
返回 JAXR 提供者实现的 DeclarativeQueryManager 对象。
- 功能级别:1
return | DeclarativeQueryManager |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
associates | <{DeclarativeQueryManager}> |
directed |
getDeclarativeQueryManager
DeclarativeQueryManager getDeclarativeQueryManager() throws JAXRException, UnsupportedCapabilityException
- Returns the DeclarativeQueryManager object implemented by the JAXR provider.
- Capability Level: 1
- Returns:
- the DeclarativeQueryManager
- Throws:
JAXRException
- If the JAXR provider encounters an internal errorUnsupportedCapabilityException
public BulkResponse
getBulkResponse(String requestId) throws InvalidRequestException, JAXRException
返回与指定 requestId 关联的 BulkResponse。客户端获取特定 requestId 的 BulkResponse 后,任何获取同一个 requestId 的 Bulkresponse 的后续调用都将导致 InvalidRequestException。
- 功能级别:0
requestId | 上一个异步请求的 ID |
return | 包含指定请求的结果的 BulkResponse |
Throws | InvalidRequestException: 如果不存在指定 requestId 的响应 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
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
- Parameters:
requestId
- the id for a previous asynchronous request- Returns:
- the BulkResponse that contains the result for the specified request
- Throws:
InvalidRequestException
- if no responses exist for specified requestIdJAXRException
- If the JAXR provider encounters an internal error
public ClassificationScheme
getDefaultPostalScheme() throws JAXRException
获取用来对 PostalAddress 的属性进行编码的默认用户定义邮政方案。
- 功能级别:0
return | 作为默认邮政方案的 ClassificationScheme |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getDefaultPostalScheme
ClassificationScheme getDefaultPostalScheme() throws JAXRException
- Gets the default user-defined postal scheme for codifying the attributes of PostalAddress.
- Capability Level: 0
- Returns:
- the ClassificationScheme that is the default postal scheme
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public String
makeRegistrySpecificRequest(String request) throws JAXRException
使用的 String 是特定于注册表的格式的 XML 请求,将该请求发送到注册表,并返回作为特定于注册表的 XML 响应的 String。
- 功能级别:0
request | String 表示形式的特定于注册表的请求 |
return | 作为特定于注册表的 XML 响应的 String |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
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
- Parameters:
request
- the registry-specific request in a String representation- Returns:
- the String that is the XML response in a registry-specific manner
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!