|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.scout.registry.RegistryImpl
public class RegistryImpl
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.
Field Summary | |
---|---|
static String |
ADMIN_ENDPOINT_PROPERTY_NAME
|
static String |
DEFAULT_ADMIN_ENDPOINT
|
static String |
DEFAULT_INQUIRY_ENDPOINT
|
static String |
DEFAULT_PROTOCOL_HANDLER
|
static String |
DEFAULT_PUBLISH_ENDPOINT
|
static String |
DEFAULT_SECURITY_PROVIDER
|
static String |
DEFAULT_TRANSPORT_CLASS
|
static String |
DEFAULT_UDDI_NAMESPACE
|
static String |
DEFAULT_UDDI_VERSION
|
static String |
INQUIRY_ENDPOINT_PROPERTY_NAME
|
static String |
PROTOCOL_HANDLER_PROPERTY_NAME
|
static String |
PUBLISH_ENDPOINT_PROPERTY_NAME
|
static String |
SECURITY_PROVIDER_PROPERTY_NAME
|
static String |
TRANSPORT_CLASS_PROPERTY_NAME
|
static String |
UDDI_NAMESPACE_PROPERTY_NAME
|
static String |
UDDI_VERSION_PROPERTY_NAME
|
Constructor Summary | |
---|---|
RegistryImpl(Properties props)
Creates a new instance of RegistryImpl. |
Method Summary | |
---|---|
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. |
String |
execute(String uddiRequest,
String urltype)
|
org.apache.xmlbeans.XmlObject |
execute(org.apache.xmlbeans.XmlObject uddiRequest,
URI endPointURI)
|
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()
|
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 |
setTransport(Transport transport)
|
void |
setUddiNamespace(String uddiNS)
|
void |
setUddiVersion(String uddiVersion)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String INQUIRY_ENDPOINT_PROPERTY_NAME
public static final String PUBLISH_ENDPOINT_PROPERTY_NAME
public static final String ADMIN_ENDPOINT_PROPERTY_NAME
public static final String TRANSPORT_CLASS_PROPERTY_NAME
public static final String SECURITY_PROVIDER_PROPERTY_NAME
public static final String PROTOCOL_HANDLER_PROPERTY_NAME
public static final String UDDI_VERSION_PROPERTY_NAME
public static final String UDDI_NAMESPACE_PROPERTY_NAME
public static final String DEFAULT_INQUIRY_ENDPOINT
public static final String DEFAULT_PUBLISH_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
Constructor Detail |
---|
public RegistryImpl(Properties props)
Method Detail |
---|
public String execute(String uddiRequest, String urltype) throws RegistryException
execute
in interface IRegistry
uddiRequest
-
RegistryException
public org.apache.xmlbeans.XmlObject execute(org.apache.xmlbeans.XmlObject 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
public void setInquiryURI(URI inquiryURI)
setInquiryURI
in interface IRegistry
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
public void setPublishURI(URI publishURI)
setPublishURI
in interface IRegistry
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
public void setTransport(Transport transport)
setTransport
in interface IRegistry
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |