Java Doc for EndpointReferenceUtils.java in  » Web-Services-apache-cxf-2.0.1 » api » org » apache » cxf » wsdl » 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 apache cxf 2.0.1 » api » org.apache.cxf.wsdl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.cxf.wsdl.EndpointReferenceUtils

EndpointReferenceUtils
final public class EndpointReferenceUtils (Code)
Provides utility methods for obtaining endpoint references, wsdl definitions, etc.


Field Summary
final public static  StringANONYMOUS_ADDRESS
    
static  WeakHashMap<ServiceInfo, Schema>schemaMap
    


Method Summary
public static  EndpointReferenceTypeduplicate(EndpointReferenceType ref)
    
public static  StringgetAddress(EndpointReferenceType ref)
     Get the address from the provided endpoint reference.
public static  EndpointReferenceTypegetAnonymousEndpointReference()
     Create an anonymous endpoint reference.
public static  EndpointReferenceTypegetEndpointReference(URL wsdlUrl, QName serviceName, String portName)
     Create an endpoint reference for the provided wsdl, service and portname.
Parameters:
  wsdlUrl - - url of the wsdl that describes the service.
Parameters:
  serviceName - - the QName of the service.
Parameters:
  portName - - the name of the port.
public static  EndpointReferenceTypegetEndpointReference(String address)
     Create an endpoint reference for the provided address.
public static  EndpointReferenceTypegetEndpointReference(AttributedURIType address)
    
public static  StringgetEndpointReferenceId(Map messageContext)
     Obtain the id String from the endpoint reference of the current dispatch.
public static  EndpointReferenceTypegetEndpointReferenceWithId(QName serviceQName, String portName, String id, Bus bus)
    
public static  QNamegetInterfaceName(EndpointReferenceType ref)
    
public static  PortgetPort(WSDLManager manager, EndpointReferenceType ref)
     Gets the WSDL port for the provided endpoint reference.
public static  StringgetPortName(EndpointReferenceType ref)
     Gets the port name of the provided endpoint reference.
Parameters:
  ref - the endpoint reference.
public static  SchemagetSchema(ServiceInfo serviceInfo)
    
public static  QNamegetServiceName(EndpointReferenceType ref)
     Gets the service name of the provided endpoint reference.
public static  JAXBElement<ServiceNameType>getServiceNameType(QName serviceName, String portName)
    
public static  DefinitiongetWSDLDefinition(WSDLManager manager, EndpointReferenceType ref)
     Gets the WSDL definition for the provided endpoint reference.
public static  StringgetWSDLLocation(EndpointReferenceType ref)
    
public static  EndpointReferenceTypemint(QName serviceName, Bus bus)
     Mint logical endpoint reference via the Bus EndpointResolverRegistry.
public static  EndpointReferenceTypemint(EndpointReferenceType physical, Bus bus)
     Mint logical endpoint reference via the Bus EndpointResolverRegistry.
public static  EndpointReferenceTyperenew(EndpointReferenceType logical, EndpointReferenceType physical, Bus bus)
     Renew logical endpoint reference via the Bus EndpointResolverRegistry.
public static  EndpointReferenceTyperesolve(EndpointReferenceType logical, Bus bus)
     Resolve logical endpoint reference via the Bus EndpointResolverRegistry.
public static  voidsetAddress(EndpointReferenceType ref, String address)
     Set the address of the provided endpoint reference.
public static  voidsetInterfaceName(EndpointReferenceType ref, QName portTypeName)
    
public static  voidsetMetadata(EndpointReferenceType ref, List<Source> metadata)
     Sets the metadata on the provided endpoint reference.
public static  voidsetPortName(EndpointReferenceType ref, String portName)
    
public static  voidsetServiceAndPortName(EndpointReferenceType ref, QName serviceName, String portName)
     Sets the service and port name of the provided endpoint reference.
public static  voidsetWSDLLocation(EndpointReferenceType ref, String... wsdlLocation)
    

Field Detail
ANONYMOUS_ADDRESS
final public static String ANONYMOUS_ADDRESS(Code)



schemaMap
static WeakHashMap<ServiceInfo, Schema> schemaMap(Code)





Method Detail
duplicate
public static EndpointReferenceType duplicate(EndpointReferenceType ref)(Code)
Create a duplicate endpoint reference sharing all atributes
Parameters:
  ref - the reference to duplicate EndpointReferenceType - the duplicate endpoint reference



getAddress
public static String getAddress(EndpointReferenceType ref)(Code)
Get the address from the provided endpoint reference.
Parameters:
  ref - - the endpoint reference String the address of the endpoint



getAnonymousEndpointReference
public static EndpointReferenceType getAnonymousEndpointReference()(Code)
Create an anonymous endpoint reference. EndpointReferenceType - the endpoint reference



getEndpointReference
public static EndpointReferenceType getEndpointReference(URL wsdlUrl, QName serviceName, String portName)(Code)
Create an endpoint reference for the provided wsdl, service and portname.
Parameters:
  wsdlUrl - - url of the wsdl that describes the service.
Parameters:
  serviceName - - the QName of the service.
Parameters:
  portName - - the name of the port. EndpointReferenceType - the endpoint reference



getEndpointReference
public static EndpointReferenceType getEndpointReference(String address)(Code)
Create an endpoint reference for the provided address.
Parameters:
  address - - address URI EndpointReferenceType - the endpoint reference



getEndpointReference
public static EndpointReferenceType getEndpointReference(AttributedURIType address)(Code)



getEndpointReferenceId
public static String getEndpointReferenceId(Map messageContext)(Code)
Obtain the id String from the endpoint reference of the current dispatch.
Parameters:
  messageContext - the current message context the id embedded in the current endpoint reference or null if not found



getEndpointReferenceWithId
public static EndpointReferenceType getEndpointReferenceWithId(QName serviceQName, String portName, String id, Bus bus)(Code)
Obtain a multiplexed endpoint reference for the deployed service that contains the provided id
Parameters:
  serviceQName - identified the target service
Parameters:
  portName - identifies a particular port of the service, may be null
Parameters:
  id - that must be embedded in the returned reference
Parameters:
  bus - the current bus a new reference or null if the target destination does not support destination mutiplexing



getInterfaceName
public static QName getInterfaceName(EndpointReferenceType ref)(Code)



getPort
public static Port getPort(WSDLManager manager, EndpointReferenceType ref) throws WSDLException(Code)
Gets the WSDL port for the provided endpoint reference.
Parameters:
  manager - - the WSDL manager
Parameters:
  ref - - the endpoint reference Port the wsdl port
throws:
  WSDLException -



getPortName
public static String getPortName(EndpointReferenceType ref)(Code)
Gets the port name of the provided endpoint reference.
Parameters:
  ref - the endpoint reference. the port name.



getSchema
public static Schema getSchema(ServiceInfo serviceInfo)(Code)



getServiceName
public static QName getServiceName(EndpointReferenceType ref)(Code)
Gets the service name of the provided endpoint reference.
Parameters:
  ref - the endpoint reference. the service name.



getServiceNameType
public static JAXBElement<ServiceNameType> getServiceNameType(QName serviceName, String portName)(Code)



getWSDLDefinition
public static Definition getWSDLDefinition(WSDLManager manager, EndpointReferenceType ref) throws WSDLException(Code)
Gets the WSDL definition for the provided endpoint reference.
Parameters:
  manager - - the WSDL manager
Parameters:
  ref - - the endpoint reference Definition the wsdl definition
throws:
  WSDLException -



getWSDLLocation
public static String getWSDLLocation(EndpointReferenceType ref)(Code)



mint
public static EndpointReferenceType mint(QName serviceName, Bus bus)(Code)
Mint logical endpoint reference via the Bus EndpointResolverRegistry.
Parameters:
  serviceName - the given serviceName the newly minted EPR if appropriate, null otherwise



mint
public static EndpointReferenceType mint(EndpointReferenceType physical, Bus bus)(Code)
Mint logical endpoint reference via the Bus EndpointResolverRegistry.
Parameters:
  physical - the concrete template EPR the newly minted EPR if appropriate, null otherwise



renew
public static EndpointReferenceType renew(EndpointReferenceType logical, EndpointReferenceType physical, Bus bus)(Code)
Renew logical endpoint reference via the Bus EndpointResolverRegistry.
Parameters:
  logical - the original abstract EPR (if still available)
Parameters:
  physical - the concrete EPR to renew the renewed concrete EPR if appropriate, null otherwise



resolve
public static EndpointReferenceType resolve(EndpointReferenceType logical, Bus bus)(Code)
Resolve logical endpoint reference via the Bus EndpointResolverRegistry.
Parameters:
  logical - the abstract EPR to resolve the resolved concrete EPR if appropriate, null otherwise



setAddress
public static void setAddress(EndpointReferenceType ref, String address)(Code)
Set the address of the provided endpoint reference.
Parameters:
  ref - - the endpoint reference
Parameters:
  address - - the address



setInterfaceName
public static void setInterfaceName(EndpointReferenceType ref, QName portTypeName)(Code)



setMetadata
public static void setMetadata(EndpointReferenceType ref, List<Source> metadata) throws EndpointUtilsException(Code)
Sets the metadata on the provided endpoint reference.
Parameters:
  ref - the endpoint reference.
Parameters:
  metadata - the list of metadata source.



setPortName
public static void setPortName(EndpointReferenceType ref, String portName)(Code)



setServiceAndPortName
public static void setServiceAndPortName(EndpointReferenceType ref, QName serviceName, String portName)(Code)
Sets the service and port name of the provided endpoint reference.
Parameters:
  ref - the endpoint reference.
Parameters:
  serviceName - the name of service.
Parameters:
  portName - the port name.



setWSDLLocation
public static void setWSDLLocation(EndpointReferenceType ref, String... wsdlLocation)(Code)



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.