| java.lang.Object org.apache.ws.scout.registry.RegistryImpl
RegistryImpl | public class RegistryImpl implements IRegistry(Code) | | RegistryImpl is the implementation of IRegistry.
The execute() function signature has been changed slightly from the jUDDI
version, since the URL can no longer be decided dynamically (in an easy
enough manner) as we don't use jUDDI data types anymore.
The function code is borrowed from jUDDI, with appropriate modifications so
that xmlbeans data types are used intead of jUDDI data types.
|
Method Summary | |
public DispositionReport | deleteBinding(String authInfo, String[] bindingKeyArray) | public DispositionReport | deleteBusiness(String authInfo, String[] businessKeyArray) | public DispositionReport | deletePublisherAssertions(String authInfo, PublisherAssertion[] assertionArray) | public DispositionReport | deleteService(String authInfo, String[] serviceKeyArray) | public DispositionReport | deleteTModel(String authInfo, String[] tModelKeyArray) "Used to delete registered information about a tModel. | public String | execute(String uddiRequest, String urltype) | public XmlObject | execute(XmlObject uddiRequest, URI endPointURI) | public BindingDetail | findBinding(String serviceKey, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) "Used to locate specific bindings within a registered businessService. | public BusinessList | findBusiness(Name[] nameArray, DiscoveryURLs discoveryURLs, IdentifierBag identifierBag, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) Used to locate information about one or more businesses. | public ServiceList | findService(String businessKey, Name[] nameArray, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) "Used to locate specific services within a registered businessEntity. | public TModelList | findTModel(String name, CategoryBag categoryBag, IdentifierBag identifierBag, FindQualifiers findQualifiers, int maxRows) "Used to locate one or more tModel information structures. | public URI | getAdminURI() | public AssertionStatusReport | getAssertionStatusReport(String authInfo, String completionStatus) | public AuthToken | getAuthToken(String userID, String cred) "Used to request an authentication token from an Operator Site.
Authentication tokens are required to use all other APIs defined in the
publishers API. | public BusinessDetail | getBusinessDetail(String businessKey) Used to get the full businessEntity information for a particular business
entity. | public BusinessDetail | getBusinessDetail(String[] businessKeyArray) "Used to get the full businessEntity information for one or more
businesses. | public static Class | getClassForName(String name) | public URI | getInquiryURI() | public String | getProtocolHandler() | public URI | getPublishURI() | public PublisherAssertions | getPublisherAssertions(String authInfo) | public String | getSecurityProvider() | public ServiceDetail | getServiceDetail(String serviceKey) "Used to get full details for a particular registered businessService. | public ServiceDetail | getServiceDetail(String[] serviceKeyArray) "Used to get full details for a given set of registered businessService
data. | public TModelDetail | getTModelDetail(String tModelKey) "Used to get full details for a particular registered TModel. | public TModelDetail | getTModelDetail(String[] tModelKeyArray) "Used to get full details for a given set of registered tModel data. | public Transport | getTransport() | public Transport | getTransport(String className) Returns an implementation of Transport based on the className passed in. | public String | getUddiNamespace() | public String | getUddiVersion() | public BindingDetail | saveBinding(String authInfo, BindingTemplate[] bindingArray) "Used to register new bindingTemplate information or update existing
bindingTemplate information. | public BusinessDetail | saveBusiness(String authInfo, BusinessEntity[] businessArray) "Used to register new businessEntity information or update existing
businessEntity information. | public ServiceDetail | saveService(String authInfo, BusinessService[] serviceArray) | public TModelDetail | saveTModel(String authInfo, TModel[] tModelArray) | public void | setAdminURI(URI url) | public void | setInquiryURI(URI inquiryURI) | public void | setProtocolHandler(String protocolHandler) | public void | setPublishURI(URI publishURI) | public PublisherAssertions | setPublisherAssertions(String authInfo, PublisherAssertion[] assertionArray) | public void | setSecurityProvider(String securityProvider) | public void | setTransport(Transport transport) | public void | setUddiNamespace(String uddiNS) | public void | setUddiVersion(String uddiVersion) |
ADMIN_ENDPOINT_PROPERTY_NAME | final public static String ADMIN_ENDPOINT_PROPERTY_NAME(Code) | | |
DEFAULT_ADMIN_ENDPOINT | final public static String DEFAULT_ADMIN_ENDPOINT(Code) | | |
DEFAULT_INQUIRY_ENDPOINT | final public static String DEFAULT_INQUIRY_ENDPOINT(Code) | | |
DEFAULT_PROTOCOL_HANDLER | final public static String DEFAULT_PROTOCOL_HANDLER(Code) | | |
DEFAULT_PUBLISH_ENDPOINT | final public static String DEFAULT_PUBLISH_ENDPOINT(Code) | | |
DEFAULT_SECURITY_PROVIDER | final public static String DEFAULT_SECURITY_PROVIDER(Code) | | |
DEFAULT_TRANSPORT_CLASS | final public static String DEFAULT_TRANSPORT_CLASS(Code) | | |
DEFAULT_UDDI_NAMESPACE | final public static String DEFAULT_UDDI_NAMESPACE(Code) | | |
DEFAULT_UDDI_VERSION | final public static String DEFAULT_UDDI_VERSION(Code) | | |
INQUIRY_ENDPOINT_PROPERTY_NAME | final public static String INQUIRY_ENDPOINT_PROPERTY_NAME(Code) | | |
PROTOCOL_HANDLER_PROPERTY_NAME | final public static String PROTOCOL_HANDLER_PROPERTY_NAME(Code) | | |
PUBLISH_ENDPOINT_PROPERTY_NAME | final public static String PUBLISH_ENDPOINT_PROPERTY_NAME(Code) | | |
SECURITY_PROVIDER_PROPERTY_NAME | final public static String SECURITY_PROVIDER_PROPERTY_NAME(Code) | | |
TRANSPORT_CLASS_PROPERTY_NAME | final public static String TRANSPORT_CLASS_PROPERTY_NAME(Code) | | |
UDDI_NAMESPACE_PROPERTY_NAME | final public static String UDDI_NAMESPACE_PROPERTY_NAME(Code) | | |
UDDI_VERSION_PROPERTY_NAME | final public static String UDDI_VERSION_PROPERTY_NAME(Code) | | |
RegistryImpl | public RegistryImpl(Properties props)(Code) | | Creates a new instance of RegistryImpl.
|
deleteBinding | public DispositionReport deleteBinding(String authInfo, String[] bindingKeyArray) throws RegistryException(Code) | | "Used to remove an existing bindingTemplate from the bindingTemplates
collection that is part of a specified businessService structure."
exception: RegistryException - ; |
deleteService | public DispositionReport deleteService(String authInfo, String[] serviceKeyArray) throws RegistryException(Code) | | "Used to delete an existing businessService from the businessServices
collection that is part of a specified businessEntity."
exception: RegistryException - ; |
deleteTModel | public DispositionReport deleteTModel(String authInfo, String[] tModelKeyArray) throws RegistryException(Code) | | "Used to delete registered information about a tModel. If there are any
references to a tModel when this call is made, the tModel will be marked
deleted instead of being physically removed."
exception: RegistryException - ; |
findBinding | public BindingDetail findBinding(String serviceKey, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws RegistryException(Code) | | "Used to locate specific bindings within a registered businessService.
Returns a bindingDetail message."
exception: RegistryException - |
findBusiness | public BusinessList findBusiness(Name[] nameArray, DiscoveryURLs discoveryURLs, IdentifierBag identifierBag, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws RegistryException(Code) | | Used to locate information about one or more businesses. Returns a
businessList message that matches the conditions specified.
exception: RegistryException - ; |
findService | public ServiceList findService(String businessKey, Name[] nameArray, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws RegistryException(Code) | | "Used to locate specific services within a registered businessEntity.
Return a serviceList message." From the XML spec (API, p18) it appears
that the name, categoryBag, and tModelBag arguments are mutually
exclusive.
exception: RegistryException - ; |
findTModel | public TModelList findTModel(String name, CategoryBag categoryBag, IdentifierBag identifierBag, FindQualifiers findQualifiers, int maxRows) throws RegistryException(Code) | | "Used to locate one or more tModel information structures. Returns a
tModelList structure."
exception: RegistryException - ; |
getAdminURI | public URI getAdminURI()(Code) | | Returns the adminURL. |
getAuthToken | public AuthToken getAuthToken(String userID, String cred) throws RegistryException(Code) | | "Used to request an authentication token from an Operator Site.
Authentication tokens are required to use all other APIs defined in the
publishers API. This server serves as the program's equivalent of a login
request."
exception: RegistryException - ; |
getBusinessDetail | public BusinessDetail getBusinessDetail(String businessKey) throws RegistryException(Code) | | Used to get the full businessEntity information for a particular business
entity. Returns a businessDetail message.
exception: RegistryException - ; |
getBusinessDetail | public BusinessDetail getBusinessDetail(String[] businessKeyArray) throws RegistryException(Code) | | "Used to get the full businessEntity information for one or more
businesses. Returns a businessDetail message."
exception: RegistryException - ; |
getInquiryURI | public URI getInquiryURI()(Code) | | Returns the inquiryURL. |
getProtocolHandler | public String getProtocolHandler()(Code) | | Returns the protocolHandler. |
getPublishURI | public URI getPublishURI()(Code) | | Returns the publishURL. |
getSecurityProvider | public String getSecurityProvider()(Code) | | Returns the securityProvider. |
getServiceDetail | public ServiceDetail getServiceDetail(String serviceKey) throws RegistryException(Code) | | "Used to get full details for a particular registered businessService.
Returns a serviceDetail message."
exception: RegistryException - ; |
getServiceDetail | public ServiceDetail getServiceDetail(String[] serviceKeyArray) throws RegistryException(Code) | | "Used to get full details for a given set of registered businessService
data. Returns a serviceDetail message."
exception: RegistryException - ; |
getTModelDetail | public TModelDetail getTModelDetail(String[] tModelKeyArray) throws RegistryException(Code) | | "Used to get full details for a given set of registered tModel data.
Returns a tModelDetail message."
exception: RegistryException - ; |
getTransport | public Transport getTransport(String className)(Code) | | Returns an implementation of Transport based on the className passed in.
If a null value is passed then the default Transport implementation
"org.apache.ws.scout.transport.AxisTransport" is created and returned.
Transport |
getUddiNamespace | public String getUddiNamespace()(Code) | | Returns the uddiNS. |
getUddiVersion | public String getUddiVersion()(Code) | | Returns the uddiVersion. |
saveBinding | public BindingDetail saveBinding(String authInfo, BindingTemplate[] bindingArray) throws RegistryException(Code) | | "Used to register new bindingTemplate information or update existing
bindingTemplate information. Use this to control information about
technical capabilities exposed by a registered business."
exception: RegistryException - ; |
saveBusiness | public BusinessDetail saveBusiness(String authInfo, BusinessEntity[] businessArray) throws RegistryException(Code) | | "Used to register new businessEntity information or update existing
businessEntity information. Use this to control the overall information
about the entire business. Of the save_x APIs this one has the broadest
effect."
exception: RegistryException - ; |
saveService | public ServiceDetail saveService(String authInfo, BusinessService[] serviceArray) throws RegistryException(Code) | | "Used to register or update complete information about a businessService
exposed by a specified businessEntity."
exception: RegistryException - ; |
setAdminURI | public void setAdminURI(URI url)(Code) | | Parameters: url - The adminURL to set. |
setInquiryURI | public void setInquiryURI(URI inquiryURI)(Code) | | Parameters: inquiryURI - The inquiryURI to set. |
setProtocolHandler | public void setProtocolHandler(String protocolHandler)(Code) | | Parameters: protocolHandler - The protocolHandler to set. |
setPublishURI | public void setPublishURI(URI publishURI)(Code) | | Parameters: publishURI - The publishURI to set. |
setSecurityProvider | public void setSecurityProvider(String securityProvider)(Code) | | Parameters: securityProvider - The securityProvider to set. |
setTransport | public void setTransport(Transport transport)(Code) | | Parameters: transport - The transport to set. |
setUddiNamespace | public void setUddiNamespace(String uddiNS)(Code) | | Parameters: uddiNS - The uddiNS to set. |
setUddiVersion | public void setUddiVersion(String uddiVersion)(Code) | | Parameters: uddiVersion - The uddiVersion to set. |
|
|