Java Doc for DescriptionFactory.java in  » Web-Services-AXIS2 » metadata » org » apache » axis2 » jaxws » description » 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 AXIS2 » metadata » org.apache.axis2.jaxws.description 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.axis2.jaxws.description.DescriptionFactory

DescriptionFactory
public class DescriptionFactory (Code)
Creates the JAX-WS metadata descritpion hierachy from some combinations of WSDL, Java class information including annotations, and (in the future) deployment descriptors.

Inner Class :public static enum UpdateType



Method Summary
public static  AxisServicecreateAxisService(Class serviceImplClass)
     This provide very convenient way of creating an AxisService from an annotated java class.
Parameters:
  serviceImplClass - A Web Service implementation class (i.e.
public static  ClientConfigurationFactorycreateClientConfigurationFactory()
     Creates Client ConfigurationFactory used to create AxisConfiguration. A Client Configuration Factory's new instance.
public static  ServiceDescriptioncreateServiceDescription(URL wsdlURL, QName serviceQName, Class serviceClass)
     Create the initial ServiceDescription hierachy on the CLIENT side.
public static  ServiceDescriptioncreateServiceDescription(Class serviceImplClass)
     Create a full ServiceDescription hierachy on the SERVER side for a single service implementation class.
public static  List<ServiceDescription>createServiceDescriptionFromDBCMap(HashMap<String, DescriptionBuilderComposite> dbcMap)
     Create a full ServiceDescription hierachy on the SERVER side for EACH service implementation entry in the DescriptionBuilderComposite (DBC) map.
public static  ServiceDescriptioncreateServiceDescriptionFromServiceImpl(Class serviceImplClass, AxisService axisService)
     DO NOT USE THIS METHOD FOR PRODUCTION CODE.
public static  EndpointDescriptionupdateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType)
     Retrieve or create the EndpointDescription hierachy associated with an existing CLIENT side ServiceDescription for a particular port.



Method Detail
createAxisService
public static AxisService createAxisService(Class serviceImplClass)(Code)
This provide very convenient way of creating an AxisService from an annotated java class.
Parameters:
  serviceImplClass - A Web Service implementation class (i.e. one that carries anWebService or WebServiceProvider annotation). An AxisService instance



createClientConfigurationFactory
public static ClientConfigurationFactory createClientConfigurationFactory()(Code)
Creates Client ConfigurationFactory used to create AxisConfiguration. A Client Configuration Factory's new instance. ClinetConfigurationFactory isSingleton.



createServiceDescription
public static ServiceDescription createServiceDescription(URL wsdlURL, QName serviceQName, Class serviceClass)(Code)
Create the initial ServiceDescription hierachy on the CLIENT side. This is intended to be called when the client creates a ServiceDelegate. Note that it will only create the ServiceDescription at this point. The EndpointDescription hierachy under this ServiceDescription will be created by the updateEndpoint factory method, which will be called by the ServiceDelegate once the port is known (i.e. addPort, getPort, or createDispatch).
Parameters:
  wsdlURL - URL to the WSDL file to use; this may be null
Parameters:
  serviceQName - The ServiceQName for this service; may not be null
Parameters:
  serviceClass - The Service class; may not be null and must be assignable fromjavax.xml.ws.Service A ServiceDescription instance for a CLIENT access to the service.
See Also:   DescriptionFactory.updateEndpoint(ServiceDescription,Class,QName,ServiceDescription.UpdateType)



createServiceDescription
public static ServiceDescription createServiceDescription(Class serviceImplClass)(Code)
Create a full ServiceDescription hierachy on the SERVER side for a single service implementation class. To create process more than one service implementation at one time or to process them without causing the service implemenation classes to be loaded, use the factory method that takes a collection of DescriptionBuilderComposite objects and returns a collection of ServiceDescriptions.

Note that the ServiceDescription will have exactly one EndpointDescription corresponding to the service implementation.
Parameters:
  serviceImplClass - A Web Service implementation class (i.e. one that carries anWebService or WebServiceProvider annotation). A ServiceDescription with the associated SERVER side hierachy created.




createServiceDescriptionFromDBCMap
public static List<ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String, DescriptionBuilderComposite> dbcMap)(Code)
Create a full ServiceDescription hierachy on the SERVER side for EACH service implementation entry in the DescriptionBuilderComposite (DBC) map. Note that the associated SERVER side Axis description objects are also created. To create a single ServiceDescription hierarchy for a single service implementation class, use the factory method that takes a single class and returns a single ServiceDescription.

A service implementation DBC entry is one that: (1) Is a class and not an interface (2) Carries a WebService or WebServiceProvider annotation.

A DBC represents the information found in the service implementation class. There will be other DBC entries in the map for classes and interfaces associated with the service implementation, such as super classes, super interfaces, fault classes, and such.

Note that map may contain > 1 service implementation DBC. A full ServiceDescriptionHierachy will be created for each service implementation DBC entry.

Note that each ServiceDescription will have exactly one EndpointDescription corresponding to each service implementation.
Parameters:
  dbcMap - A HashMap keyed on class name with a value for the DBC for that classname A List of ServiceDescriptions with the associated SERVER side hierachy created.




createServiceDescriptionFromServiceImpl
public static ServiceDescription createServiceDescriptionFromServiceImpl(Class serviceImplClass, AxisService axisService)(Code)
DO NOT USE THIS METHOD FOR PRODUCTION CODE. It has been deprecated and is only used to drive some testing. Note that the AxisService and associated Axis description objects ARE NOT created or updated by this factory method.
Parameters:
  serviceImplClass - A service implementation class with annotations
Parameters:
  axisService - A FULLY POPULATED AxisService including all of the underlyingdescription objects such as AxisOperations. A ServiceDescription hierachy constructed (via Java reflection) from the serviceimplementation class and tied via properties to the existing AxisService object.DescriptionFactory.createServiceDescriptionFromDBCMap(HashMap)



updateEndpoint
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType)(Code)
Retrieve or create the EndpointDescription hierachy associated with an existing CLIENT side ServiceDescription for a particular port. If an EndpointDescritption already exists, it will be returned; if one does not already exist, it will be created. Note that if the SEI is null then the EndpointDescription returned will be for a Dispatch client only and it will not have an EndpointInterfaceDescription hierachy associated with it. If, at a later point, the same port is requested and an SEI is provided, the existing EndpointDescription will be updated with a newly-created EndpointInterfaceDescription hieracy.
Parameters:
  serviceDescription - An existing client-side ServiceDescription. This must not benull.
Parameters:
  sei - The ServiceInterface class. This can be null for adding a port orcreating a Dispatch; it can not be null when getting a port.
Parameters:
  portQName - The QName of the port. If this is null, the runtime will attemptto to select an appropriate port to use.
Parameters:
  updateType - The type of the update: adding a port, creating a dispatch, orgetting an SEI-based port. An EndpointDescription corresponding to the port.
See Also:   DescriptionFactory.createServiceDescription(URL,QName,Class)
See Also:   DescriptionFactory.UpdateType



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.