public class RegistryImpl extends Object implements 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.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ADMIN_ENDPOINT |
static String |
DEFAULT_PROTOCOL_HANDLER |
static String |
DEFAULT_SECURITY_PROVIDER |
static String |
DEFAULT_TRANSPORT_CLASS |
static String |
DEFAULT_UDDI_NAMESPACE |
static String |
DEFAULT_UDDI_VERSION |
Constructor and Description |
---|
RegistryImpl(Properties props)
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_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 RegistryImpl(Properties props) throws InvalidRequestException
InvalidRequestException
public String execute(String uddiRequest, String urltype) throws TransportException
execute
in interface IRegistryBase
uddiRequest
- RegistryException
TransportException
public JAXBElement<?> execute(JAXBElement<?> uddiRequest, URI endPointURI) throws RegistryException
RegistryException
public URI getAdminURI()
public void setAdminURI(URI url)
url
- The adminURL to set.public URI getInquiryURI()
getInquiryURI
in interface IRegistry
getInquiryURI
in interface IRegistryBase
public void setInquiryURI(URI inquiryURI)
setInquiryURI
in interface IRegistry
setInquiryURI
in interface IRegistryBase
inquiryURI
- The inquiryURI to set.public String getProtocolHandler()
public void setProtocolHandler(String protocolHandler)
protocolHandler
- The protocolHandler to set.public URI getPublishURI()
getPublishURI
in interface IRegistry
getPublishURI
in interface IRegistryBase
public URI getSecurityURI()
getSecurityURI
in interface IRegistryBase
public void setPublishURI(URI publishURI)
setPublishURI
in interface IRegistry
setPublishURI
in interface IRegistryBase
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 IRegistry
getTransport
in interface IRegistryBase
public void setTransport(Transport transport)
setTransport
in interface IRegistry
setTransport
in interface IRegistryBase
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 RegistryException
deleteBinding
in interface IRegistry
RegistryException;
RegistryException
public DispositionReport deleteBusiness(String authInfo, String[] businessKeyArray) throws RegistryException
deleteBusiness
in interface IRegistry
RegistryException;
RegistryException
public DispositionReport deletePublisherAssertions(String authInfo, PublisherAssertion[] assertionArray) throws RegistryException
deletePublisherAssertions
in interface IRegistry
RegistryException;
RegistryException
public DispositionReport deleteService(String authInfo, String[] serviceKeyArray) throws RegistryException
deleteService
in interface IRegistry
RegistryException;
RegistryException
public DispositionReport deleteTModel(String authInfo, String[] tModelKeyArray) throws RegistryException
deleteTModel
in interface IRegistry
RegistryException;
RegistryException
public BusinessList findBusiness(Name[] nameArray, DiscoveryURLs discoveryURLs, IdentifierBag identifierBag, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws RegistryException
findBusiness
in interface IRegistry
RegistryException;
RegistryException
public BindingDetail findBinding(String serviceKey, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws RegistryException
findBinding
in interface IRegistry
RegistryException
public ServiceList findService(String businessKey, Name[] nameArray, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows) throws RegistryException
findService
in interface IRegistry
RegistryException;
RegistryException
public TModelList findTModel(String name, CategoryBag categoryBag, IdentifierBag identifierBag, FindQualifiers findQualifiers, int maxRows) throws RegistryException
findTModel
in interface IRegistry
RegistryException;
RegistryException
public AssertionStatusReport getAssertionStatusReport(String authInfo, String completionStatus) throws RegistryException
getAssertionStatusReport
in interface IRegistry
RegistryException;
RegistryException
public AuthToken getAuthToken(String userID, String cred) throws RegistryException
getAuthToken
in interface IRegistry
RegistryException;
RegistryException
public BusinessDetail getBusinessDetail(String businessKey) throws RegistryException
getBusinessDetail
in interface IRegistry
RegistryException;
RegistryException
public BusinessDetail getBusinessDetail(String[] businessKeyArray) throws RegistryException
getBusinessDetail
in interface IRegistry
RegistryException;
RegistryException
public PublisherAssertions getPublisherAssertions(String authInfo) throws RegistryException
getPublisherAssertions
in interface IRegistry
RegistryException;
RegistryException
public RegisteredInfo getRegisteredInfo(String authInfo) throws RegistryException
getRegisteredInfo
in interface IRegistry
RegistryException;
RegistryException
public ServiceDetail getServiceDetail(String serviceKey) throws RegistryException
getServiceDetail
in interface IRegistry
RegistryException;
RegistryException
public ServiceDetail getServiceDetail(String[] serviceKeyArray) throws RegistryException
getServiceDetail
in interface IRegistry
RegistryException;
RegistryException
public TModelDetail getTModelDetail(String tModelKey) throws RegistryException
getTModelDetail
in interface IRegistry
RegistryException;
RegistryException
public TModelDetail getTModelDetail(String[] tModelKeyArray) throws RegistryException
getTModelDetail
in interface IRegistry
RegistryException;
RegistryException
public PublisherAssertions setPublisherAssertions(String authInfo, PublisherAssertion[] assertionArray) throws RegistryException
setPublisherAssertions
in interface IRegistry
RegistryException;
RegistryException
public BindingDetail saveBinding(String authInfo, BindingTemplate[] bindingArray) throws RegistryException
saveBinding
in interface IRegistry
RegistryException;
RegistryException
public BusinessDetail saveBusiness(String authInfo, BusinessEntity[] businessArray) throws RegistryException
saveBusiness
in interface IRegistry
RegistryException;
RegistryException
public ServiceDetail saveService(String authInfo, BusinessService[] serviceArray) throws RegistryException
saveService
in interface IRegistry
RegistryException;
RegistryException
public TModelDetail saveTModel(String authInfo, TModel[] tModelArray) throws RegistryException
saveTModel
in interface IRegistry
RegistryException;
RegistryException
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.