Java Doc for RegistryImpl.java in  » Web-Services » XML-Registry-JAXR » org » apache » ws » scout » registry » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Services » XML Registry JAXR » org.apache.ws.scout.registry 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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.


Field Summary
final public static  StringADMIN_ENDPOINT_PROPERTY_NAME
    
final public static  StringDEFAULT_ADMIN_ENDPOINT
    
final public static  StringDEFAULT_INQUIRY_ENDPOINT
    
final public static  StringDEFAULT_PROTOCOL_HANDLER
    
final public static  StringDEFAULT_PUBLISH_ENDPOINT
    
final public static  StringDEFAULT_SECURITY_PROVIDER
    
final public static  StringDEFAULT_TRANSPORT_CLASS
    
final public static  StringDEFAULT_UDDI_NAMESPACE
    
final public static  StringDEFAULT_UDDI_VERSION
    
final public static  StringINQUIRY_ENDPOINT_PROPERTY_NAME
    
final public static  StringPROTOCOL_HANDLER_PROPERTY_NAME
    
final public static  StringPUBLISH_ENDPOINT_PROPERTY_NAME
    
final public static  StringSECURITY_PROVIDER_PROPERTY_NAME
    
final public static  StringTRANSPORT_CLASS_PROPERTY_NAME
    
final public static  StringUDDI_NAMESPACE_PROPERTY_NAME
    
final public static  StringUDDI_VERSION_PROPERTY_NAME
    

Constructor Summary
public  RegistryImpl(Properties props)
     Creates a new instance of RegistryImpl.

Method Summary
public  DispositionReportdeleteBinding(String authInfo, String[] bindingKeyArray)
    
public  DispositionReportdeleteBusiness(String authInfo, String[] businessKeyArray)
    
public  DispositionReportdeletePublisherAssertions(String authInfo, PublisherAssertion[] assertionArray)
    
public  DispositionReportdeleteService(String authInfo, String[] serviceKeyArray)
    
public  DispositionReportdeleteTModel(String authInfo, String[] tModelKeyArray)
     "Used to delete registered information about a tModel.
public  Stringexecute(String uddiRequest, String urltype)
    
public  XmlObjectexecute(XmlObject uddiRequest, URI endPointURI)
    
public  BindingDetailfindBinding(String serviceKey, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows)
     "Used to locate specific bindings within a registered businessService.
public  BusinessListfindBusiness(Name[] nameArray, DiscoveryURLs discoveryURLs, IdentifierBag identifierBag, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows)
     Used to locate information about one or more businesses.
public  ServiceListfindService(String businessKey, Name[] nameArray, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows)
     "Used to locate specific services within a registered businessEntity.
public  TModelListfindTModel(String name, CategoryBag categoryBag, IdentifierBag identifierBag, FindQualifiers findQualifiers, int maxRows)
     "Used to locate one or more tModel information structures.
public  URIgetAdminURI()
    
public  AssertionStatusReportgetAssertionStatusReport(String authInfo, String completionStatus)
    
public  AuthTokengetAuthToken(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  BusinessDetailgetBusinessDetail(String businessKey)
     Used to get the full businessEntity information for a particular business entity.
public  BusinessDetailgetBusinessDetail(String[] businessKeyArray)
     "Used to get the full businessEntity information for one or more businesses.
public static  ClassgetClassForName(String name)
    
public  URIgetInquiryURI()
    
public  StringgetProtocolHandler()
    
public  URIgetPublishURI()
    
public  PublisherAssertionsgetPublisherAssertions(String authInfo)
    
public  StringgetSecurityProvider()
    
public  ServiceDetailgetServiceDetail(String serviceKey)
     "Used to get full details for a particular registered businessService.
public  ServiceDetailgetServiceDetail(String[] serviceKeyArray)
     "Used to get full details for a given set of registered businessService data.
public  TModelDetailgetTModelDetail(String tModelKey)
     "Used to get full details for a particular registered TModel.
public  TModelDetailgetTModelDetail(String[] tModelKeyArray)
     "Used to get full details for a given set of registered tModel data.
public  TransportgetTransport()
    
public  TransportgetTransport(String className)
     Returns an implementation of Transport based on the className passed in.
public  StringgetUddiNamespace()
    
public  StringgetUddiVersion()
    
public  BindingDetailsaveBinding(String authInfo, BindingTemplate[] bindingArray)
     "Used to register new bindingTemplate information or update existing bindingTemplate information.
public  BusinessDetailsaveBusiness(String authInfo, BusinessEntity[] businessArray)
     "Used to register new businessEntity information or update existing businessEntity information.
public  ServiceDetailsaveService(String authInfo, BusinessService[] serviceArray)
    
public  TModelDetailsaveTModel(String authInfo, TModel[] tModelArray)
    
public  voidsetAdminURI(URI url)
    
public  voidsetInquiryURI(URI inquiryURI)
    
public  voidsetProtocolHandler(String protocolHandler)
    
public  voidsetPublishURI(URI publishURI)
    
public  PublisherAssertionssetPublisherAssertions(String authInfo, PublisherAssertion[] assertionArray)
    
public  voidsetSecurityProvider(String securityProvider)
    
public  voidsetTransport(Transport transport)
    
public  voidsetUddiNamespace(String uddiNS)
    
public  voidsetUddiVersion(String uddiVersion)
    

Field Detail
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)




Constructor Detail
RegistryImpl
public RegistryImpl(Properties props)(Code)
Creates a new instance of RegistryImpl.




Method Detail
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 - ;



deleteBusiness
public DispositionReport deleteBusiness(String authInfo, String[] businessKeyArray) throws RegistryException(Code)
"Used to delete registered businessEntity information from the registry."
exception:
  RegistryException - ;



deletePublisherAssertions
public DispositionReport deletePublisherAssertions(String authInfo, PublisherAssertion[] assertionArray) throws RegistryException(Code)

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 - ;



execute
public String execute(String uddiRequest, String urltype) throws RegistryException(Code)

Parameters:
  uddiRequest -
throws:
  RegistryException -



execute
public XmlObject execute(XmlObject uddiRequest, URI endPointURI) throws RegistryException(Code)



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.



getAssertionStatusReport
public AssertionStatusReport getAssertionStatusReport(String authInfo, String completionStatus) throws RegistryException(Code)

exception:
  RegistryException - ;



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 - ;



getClassForName
public static Class getClassForName(String name) throws ClassNotFoundException, NoClassDefFoundError(Code)

Parameters:
  name - The class object for the name given
throws:
  ClassNotFoundException -
throws:
  NoClassDefFoundError -



getInquiryURI
public URI getInquiryURI()(Code)
Returns the inquiryURL.



getProtocolHandler
public String getProtocolHandler()(Code)
Returns the protocolHandler.



getPublishURI
public URI getPublishURI()(Code)
Returns the publishURL.



getPublisherAssertions
public PublisherAssertions getPublisherAssertions(String authInfo) throws RegistryException(Code)

exception:
  RegistryException - ;



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 tModelKey) throws RegistryException(Code)
"Used to get full details for a particular registered TModel. Returns a tModelDetail 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()(Code)
Returns the transport.



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 - ;



saveTModel
public TModelDetail saveTModel(String authInfo, TModel[] tModelArray) throws RegistryException(Code)
"Used to register or update complete information about a tModel."
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.



setPublisherAssertions
public PublisherAssertions setPublisherAssertions(String authInfo, PublisherAssertion[] assertionArray) throws RegistryException(Code)

exception:
  RegistryException - ;



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.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.