public class RegistryV3Impl extends Object implements IRegistryV3
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.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ADMIN_ENDPOINT |
static String |
DEFAULT_INQUIRY_ENDPOINT |
static String |
DEFAULT_PROTOCOL_HANDLER |
static String |
DEFAULT_PUBLISH_ENDPOINT |
static String |
DEFAULT_SECURITY_ENDPOINT |
static String |
DEFAULT_SECURITY_PROVIDER |
static String |
DEFAULT_TRANSPORT_CLASS |
static String |
DEFAULT_UDDI_NAMESPACE |
static String |
DEFAULT_UDDI_VERSION |
Constructor and Description |
---|
RegistryV3Impl(Properties props,
String nodeName,
String managerName)
Creates a new instance of RegistryImpl.
|
Modifier and Type | Method and Description |
---|---|
DispositionReport |
deleteBinding(String authInfo,
String[] bindingKeyArray)
"Used to remove an existing bindingTemplate from the bindingTemplates
collection that is part of a specified businessService structure."
|
DispositionReport |
deleteBusiness(String authInfo,
String[] businessKeyArray)
"Used to delete registered businessEntity information from the registry."
|
DispositionReport |
deletePublisherAssertions(String authInfo,
PublisherAssertion[] assertionArray) |
DispositionReport |
deleteService(String authInfo,
String[] serviceKeyArray)
"Used to delete an existing businessService from the businessServices
collection that is part of a specified businessEntity."
|
DispositionReport |
deleteTModel(String authInfo,
String[] tModelKeyArray)
"Used to delete registered information about a tModel.
|
JAXBElement<?> |
execute(JAXBElement<?> uddiRequest,
URI endPointURI) |
String |
execute(String uddiRequest,
String urltype) |
BindingDetail |
findBinding(String serviceKey,
CategoryBag categoryBag,
TModelBag tModelBag,
FindQualifiers findQualifiers,
int maxRows)
"Used to locate specific bindings within a registered businessService.
|
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.
|
ServiceList |
findService(String businessKey,
Name[] nameArray,
CategoryBag categoryBag,
TModelBag tModelBag,
FindQualifiers findQualifiers,
int maxRows)
"Used to locate specific services within a registered businessEntity.
|
TModelList |
findTModel(String name,
CategoryBag categoryBag,
IdentifierBag identifierBag,
FindQualifiers findQualifiers,
int maxRows)
"Used to locate one or more tModel information structures.
|
URI |
getAdminURI() |
AssertionStatusReport |
getAssertionStatusReport(String authInfo,
String completionStatus) |
AuthToken |
getAuthToken(String userID,
String cred)
"Used to request an authentication token from an Operator Site.
|
BusinessDetail |
getBusinessDetail(String businessKey)
Used to get the full businessEntity information for a particular business
entity.
|
BusinessDetail |
getBusinessDetail(String[] businessKeyArray)
"Used to get the full businessEntity information for one or more
businesses.
|
static Class |
getClassForName(String name) |
URI |
getInquiryURI() |
String |
getProtocolHandler() |
PublisherAssertions |
getPublisherAssertions(String authInfo) |
URI |
getPublishURI() |
RegisteredInfo |
getRegisteredInfo(String authInfo) |
String |
getSecurityProvider() |
URI |
getSecurityURI() |
ServiceDetail |
getServiceDetail(String serviceKey)
"Used to get full details for a particular registered businessService.
|
ServiceDetail |
getServiceDetail(String[] serviceKeyArray)
"Used to get full details for a given set of registered businessService
data.
|
TModelDetail |
getTModelDetail(String tModelKey)
"Used to get full details for a particular registered TModel.
|
TModelDetail |
getTModelDetail(String[] tModelKeyArray)
"Used to get full details for a given set of registered tModel data.
|
Transport |
getTransport() |
Transport |
getTransport(String className)
Returns an implementation of Transport based on the className passed in.
|
String |
getUddiNamespace() |
String |
getUddiVersion() |
BindingDetail |
saveBinding(String authInfo,
BindingTemplate[] bindingArray)
"Used to register new bindingTemplate information or update existing
bindingTemplate information.
|
BusinessDetail |
saveBusiness(String authInfo,
BusinessEntity[] businessArray)
"Used to register new businessEntity information or update existing
businessEntity information.
|
ServiceDetail |
saveService(String authInfo,
BusinessService[] serviceArray)
"Used to register or update complete information about a businessService
exposed by a specified businessEntity."
|
TModelDetail |
saveTModel(String authInfo,
TModel[] tModelArray)
"Used to register or update complete information about a tModel."
|
void |
setAdminURI(URI url) |
void |
setInquiryURI(URI inquiryURI) |
void |
setProtocolHandler(String protocolHandler) |
PublisherAssertions |
setPublisherAssertions(String authInfo,
PublisherAssertion[] assertionArray) |
void |
setPublishURI(URI publishURI) |
void |
setSecurityProvider(String securityProvider) |
void |
setSecurityURI(URI securityURI) |
void |
setTransport(Transport transport) |
void |
setUddiNamespace(String uddiNS) |
void |
setUddiVersion(String uddiVersion) |
public static final String DEFAULT_INQUIRY_ENDPOINT
public static final String DEFAULT_PUBLISH_ENDPOINT
public static final String DEFAULT_SECURITY_ENDPOINT
public static final String DEFAULT_ADMIN_ENDPOINT
public static final String DEFAULT_TRANSPORT_CLASS
public static final String DEFAULT_SECURITY_PROVIDER
public static final String DEFAULT_PROTOCOL_HANDLER
public static final String DEFAULT_UDDI_VERSION
public static final String DEFAULT_UDDI_NAMESPACE
public RegistryV3Impl(Properties props, String nodeName, String managerName) throws InvalidRequestException
InvalidRequestException
public String execute(String uddiRequest, String urltype) throws TransportException
execute
in interface IRegistryBase
uddiRequest
- RegistryV3Exception
TransportException
public JAXBElement<?> execute(JAXBElement<?> uddiRequest, URI endPointURI) throws RegistryV3Exception
RegistryV3Exception
public URI getAdminURI()
public void setAdminURI(URI url)
url
- The adminURL to set.public URI getInquiryURI()
getInquiryURI
in interface IRegistryBase
getInquiryURI
in interface IRegistryV3
public void setInquiryURI(URI inquiryURI)
setInquiryURI
in interface IRegistryBase
setInquiryURI
in interface IRegistryV3
inquiryURI
- The inquiryURI to set.public String getProtocolHandler()
public void setProtocolHandler(String protocolHandler)
protocolHandler
- The protocolHandler to set.public URI getPublishURI()
getPublishURI
in interface IRegistryBase
getPublishURI
in interface IRegistryV3
public URI getSecurityURI()
getSecurityURI
in interface IRegistryBase
public void setPublishURI(URI publishURI)
setPublishURI
in interface IRegistryBase
setPublishURI
in interface IRegistryV3
publishURI
- The publishURI to set.public void setSecurityURI(URI securityURI)
setSecurityURI
in interface IRegistryBase
publishURI
- The publishURI to set.public String getSecurityProvider()
public void setSecurityProvider(String securityProvider)
securityProvider
- The securityProvider to set.public Transport getTransport()
getTransport
in interface IRegistryBase
getTransport
in interface IRegistryV3
public void setTransport(Transport transport)
setTransport
in interface IRegistryBase
setTransport
in interface IRegistryV3
transport
- The transport to set.public String getUddiNamespace()
public void setUddiNamespace(String uddiNS)
uddiNS
- The uddiNS to set.public String getUddiVersion()
public void setUddiVersion(String uddiVersion)
uddiVersion
- The uddiVersion to set.public DispositionReport deleteBinding(String authInfo, String[] bindingKeyArray) throws RegistryV3Exception
deleteBinding
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public DispositionReport deleteBusiness(String authInfo, String[] businessKeyArray) throws RegistryV3Exception
deleteBusiness
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public DispositionReport deletePublisherAssertions(String authInfo, PublisherAssertion[] assertionArray) throws RegistryV3Exception
deletePublisherAssertions
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public DispositionReport deleteService(String authInfo, String[] serviceKeyArray) throws RegistryV3Exception
deleteService
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public DispositionReport deleteTModel(String authInfo, String[] tModelKeyArray) throws RegistryV3Exception
deleteTModel
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public BusinessList findBusiness(Name[] nameArray, DiscoveryURLs discoveryURLs, IdentifierBag identifierBag, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws RegistryV3Exception
findBusiness
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public BindingDetail findBinding(String serviceKey, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws RegistryV3Exception
findBinding
in interface IRegistryV3
RegistryV3Exception
public ServiceList findService(String businessKey, Name[] nameArray, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws RegistryV3Exception
findService
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public TModelList findTModel(String name, CategoryBag categoryBag, IdentifierBag identifierBag, FindQualifiers findQualifiers, int maxRows) throws RegistryV3Exception
findTModel
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public AssertionStatusReport getAssertionStatusReport(String authInfo, String completionStatus) throws RegistryV3Exception
getAssertionStatusReport
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public AuthToken getAuthToken(String userID, String cred) throws RegistryV3Exception
getAuthToken
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public BusinessDetail getBusinessDetail(String businessKey) throws RegistryV3Exception
getBusinessDetail
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public BusinessDetail getBusinessDetail(String[] businessKeyArray) throws RegistryV3Exception
getBusinessDetail
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public PublisherAssertions getPublisherAssertions(String authInfo) throws RegistryV3Exception
getPublisherAssertions
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public RegisteredInfo getRegisteredInfo(String authInfo) throws RegistryV3Exception
getRegisteredInfo
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public ServiceDetail getServiceDetail(String serviceKey) throws RegistryV3Exception
getServiceDetail
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public ServiceDetail getServiceDetail(String[] serviceKeyArray) throws RegistryV3Exception
getServiceDetail
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public TModelDetail getTModelDetail(String tModelKey) throws RegistryV3Exception
getTModelDetail
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public TModelDetail getTModelDetail(String[] tModelKeyArray) throws RegistryV3Exception
getTModelDetail
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public PublisherAssertions setPublisherAssertions(String authInfo, PublisherAssertion[] assertionArray) throws RegistryV3Exception
setPublisherAssertions
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public BindingDetail saveBinding(String authInfo, BindingTemplate[] bindingArray) throws RegistryV3Exception
saveBinding
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public BusinessDetail saveBusiness(String authInfo, BusinessEntity[] businessArray) throws RegistryV3Exception
saveBusiness
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public ServiceDetail saveService(String authInfo, BusinessService[] serviceArray) throws RegistryV3Exception
saveService
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public TModelDetail saveTModel(String authInfo, TModel[] tModelArray) throws RegistryV3Exception
saveTModel
in interface IRegistryV3
RegistryV3Exception;
RegistryV3Exception
public Transport getTransport(String className)
public static Class getClassForName(String name) throws ClassNotFoundException, NoClassDefFoundError
name
- ClassNotFoundException
NoClassDefFoundError
Copyright © 2018 JBoss by Red Hat. All rights reserved.