Java Doc for JavaServiceDesc.java in  » Portal » stringbeans-3.5 » com » nabhinc » ws » soap » 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 » Portal » stringbeans 3.5 » com.nabhinc.ws.soap 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.nabhinc.ws.soap.JavaServiceDesc

JavaServiceDesc
public class JavaServiceDesc implements ServiceDesc(Code)
A ServiceDesc is an abstract description of a service. ServiceDescs contain OperationDescs, which are descriptions of operations. The information about a service's operations comes from one of two places: 1) deployment, or 2) introspection.
author:
   Glen Daniels (gdaniels@apache.org)


Field Summary
protected static  Loglog
    

Constructor Summary
public  JavaServiceDesc()
    

Method Summary
public  voidaddOperationDesc(OperationDesc operation)
    
public  ListgetAllowedMethods()
    
public  StringgetDefaultNamespace()
    
public  ListgetDisallowedMethods()
    
public  StringgetDocumentation()
    
public  StringgetEndpointURL()
    
public  ClassgetImplClass()
    
public  StringgetName()
    
public  OperationDescgetOperationByElementQName(QName qname)
     Map an XML QName to an operation.
public  OperationDescgetOperationByName(String methodName)
     Return an operation matching the given method name.
public  ArrayListgetOperations()
     get all the operations as a list of OperationDescs. this method triggers an evaluation of the valid operations by introspection, so use sparingly reference to the operations array.
public  OperationDesc[]getOperationsByName(String methodName)
    
public  OperationDesc[]getOperationsByQName(QName qname)
     Return all operations which match this QName (i.e.
public  ObjectgetProperty(String name)
    
public  ArrayListgetStopClasses()
    
public  StylegetStyle()
    
public  TypeMappinggetTypeMapping()
    
public  TypeMappingRegistrygetTypeMappingRegistry()
    
public  UsegetUse()
    
public  StringgetWSDLFile()
     the wsdl file of the service.
public  booleanisInitialized()
    
public  booleanisWrapped()
     Determine whether or not this is a "wrapped" invocation, i.e.
public  voidloadServiceDescByIntrospection()
     Fill in a service description by introspecting the implementation class.
public  voidloadServiceDescByIntrospection(Class implClass)
     Fill in a service description by introspecting the implementation class.
public  voidloadServiceDescByIntrospection(Class cls, TypeMapping tm)
     Fill in a service description by introspecting the implementation class.
public  voidremoveOperationDesc(OperationDesc operation)
    
public  voidsetAllowedMethods(List allowedMethods)
    
public  voidsetDefaultNamespace(String namespace)
    
public  voidsetDisallowedMethods(List disallowedMethods)
    
public  voidsetDocumentation(String documentation)
    
public  voidsetEndpointURL(String endpointURL)
    
public  voidsetImplClass(Class implClass)
     set the implementation class

Warning: You cannot call getInitializedServiceDesc() after setting this as it uses this to indicate its work has already been done.

public  voidsetName(String name)
    
public  voidsetNamespaceMappings(List namespaces)
    
public  voidsetProperty(String name, Object value)
    
public  voidsetStopClasses(ArrayList stopClasses)
    
public  voidsetStyle(Style style)
    
public  voidsetTypeMapping(TypeMapping tm)
    
public  voidsetTypeMappingRegistry(TypeMappingRegistry tmr)
    
public  voidsetUse(Use use)
    
public  voidsetWSDLFile(String wsdlFileName)
     set the wsdl file of the service; this causes the named file to be returned on a ?wsdl, probe, not introspection generated wsdl.

Field Detail
log
protected static Log log(Code)




Constructor Detail
JavaServiceDesc
public JavaServiceDesc()(Code)
Default constructor




Method Detail
addOperationDesc
public void addOperationDesc(OperationDesc operation)(Code)



getAllowedMethods
public List getAllowedMethods()(Code)



getDefaultNamespace
public String getDefaultNamespace()(Code)



getDisallowedMethods
public List getDisallowedMethods()(Code)



getDocumentation
public String getDocumentation()(Code)
get the documentation for the service



getEndpointURL
public String getEndpointURL()(Code)



getImplClass
public Class getImplClass()(Code)



getName
public String getName()(Code)
the name of the service



getOperationByElementQName
public OperationDesc getOperationByElementQName(QName qname)(Code)
Map an XML QName to an operation. Returns the first one it finds in the case of mulitple matches. null for no match



getOperationByName
public OperationDesc getOperationByName(String methodName)(Code)
Return an operation matching the given method name. Note that if we have multiple overloads for this method, we will return the first one. null for no match



getOperations
public ArrayList getOperations()(Code)
get all the operations as a list of OperationDescs. this method triggers an evaluation of the valid operations by introspection, so use sparingly reference to the operations array. This is not a copy



getOperationsByName
public OperationDesc[] getOperationsByName(String methodName)(Code)
get all overloaded operations by name
Parameters:
  methodName - null for no match, or an array of OperationDesc objects



getOperationsByQName
public OperationDesc[] getOperationsByQName(QName qname)(Code)
Return all operations which match this QName (i.e. get all the overloads) null for no match



getProperty
public Object getProperty(String name)(Code)



getStopClasses
public ArrayList getStopClasses()(Code)



getStyle
public Style getStyle()(Code)
What kind of service is this?



getTypeMapping
public TypeMapping getTypeMapping()(Code)



getTypeMappingRegistry
public TypeMappingRegistry getTypeMappingRegistry()(Code)



getUse
public Use getUse()(Code)
What kind of use is this?



getWSDLFile
public String getWSDLFile()(Code)
the wsdl file of the service. When null, it means that the wsdl should be autogenerated filename or null



isInitialized
public boolean isInitialized()(Code)



isWrapped
public boolean isWrapped()(Code)
Determine whether or not this is a "wrapped" invocation, i.e. whether the outermost XML element of the "main" body element represents a method call, with the immediate children of that element representing arguments to the method. true if this is wrapped (i.e. RPC or WRAPPED style),false otherwise



loadServiceDescByIntrospection
public void loadServiceDescByIntrospection()(Code)
Fill in a service description by introspecting the implementation class.



loadServiceDescByIntrospection
public void loadServiceDescByIntrospection(Class implClass)(Code)
Fill in a service description by introspecting the implementation class.



loadServiceDescByIntrospection
public void loadServiceDescByIntrospection(Class cls, TypeMapping tm)(Code)
Fill in a service description by introspecting the implementation class. This version takes the implementation class and the in-scope TypeMapping.



removeOperationDesc
public void removeOperationDesc(OperationDesc operation)(Code)



setAllowedMethods
public void setAllowedMethods(List allowedMethods)(Code)



setDefaultNamespace
public void setDefaultNamespace(String namespace)(Code)



setDisallowedMethods
public void setDisallowedMethods(List disallowedMethods)(Code)



setDocumentation
public void setDocumentation(String documentation)(Code)
set the documentation for the service



setEndpointURL
public void setEndpointURL(String endpointURL)(Code)



setImplClass
public void setImplClass(Class implClass)(Code)
set the implementation class

Warning: You cannot call getInitializedServiceDesc() after setting this as it uses this to indicate its work has already been done.
Parameters:
  implClass -
throws:
  IllegalArgumentException - if the implementation class is alreadyset




setName
public void setName(String name)(Code)
the name of the service
Parameters:
  name -



setNamespaceMappings
public void setNamespaceMappings(List namespaces)(Code)



setProperty
public void setProperty(String name, Object value)(Code)



setStopClasses
public void setStopClasses(ArrayList stopClasses)(Code)



setStyle
public void setStyle(Style style)(Code)



setTypeMapping
public void setTypeMapping(TypeMapping tm)(Code)



setTypeMappingRegistry
public void setTypeMappingRegistry(TypeMappingRegistry tmr)(Code)



setUse
public void setUse(Use use)(Code)



setWSDLFile
public void setWSDLFile(String wsdlFileName)(Code)
set the wsdl file of the service; this causes the named file to be returned on a ?wsdl, probe, not introspection generated wsdl.
Parameters:
  wsdlFileName - filename or null to re-enable introspection



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.