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


org.apache.cxf.service.factory.ReflectionServiceFactoryBean

All known Subclasses:   org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean,
ReflectionServiceFactoryBean
public class ReflectionServiceFactoryBean extends AbstractServiceFactoryBean (Code)
Introspects a class and builds a Service from it. If a WSDL URL is specified, a Service model will be directly from the WSDL and then metadata will be filled in from the service class. If no WSDL URL is specified, the Service will be constructed directly from the class structure.


Field Summary
final public static  StringELEMENT_NAME
    
final public static  StringENDPOINT_CLASS
    
final public static  StringGENERIC_TYPE
    
final public static  StringHEADER
    
final public static  StringHOLDER
    
final public static  StringMETHOD
    
final public static  StringMODE_INOUT
    
final public static  StringMODE_OUT
    
protected  ClassserviceClass
    
protected  StringwsdlURL
    

Constructor Summary
public  ReflectionServiceFactoryBean()
    

Method Summary
protected  FaultInfoaddFault(InterfaceInfo service, OperationInfo op, Class exClass)
    
protected  voidbuildServiceFromClass()
    
protected  voidbuildServiceFromWSDL(String url)
    
protected  voidcheckForHeaderElement(ServiceInfo serviceInfo, MessagePartInfo mpi)
    
public  Servicecreate()
    
protected  voidcreateBareMessage(ServiceInfo serviceInfo, OperationInfo opInfo, boolean isOut)
    
public  EndpointcreateEndpoint(EndpointInfo ei)
    
protected  voidcreateEndpoints()
    
protected  voidcreateFaultForException(Class exClass, FaultInfo fi)
    
protected  voidcreateInputWrappedMessageParts(OperationInfo op, Method method, MessageInfo inMsg)
    
protected  InterfaceInfocreateInterface(ServiceInfo serviceInfo)
    
protected  InvokercreateInvoker()
    
protected  voidcreateMessageParts(InterfaceInfo intf, OperationInfo op, Method method)
    
protected  OperationInfocreateOperation(ServiceInfo serviceInfo, InterfaceInfo intf, Method m)
    
protected  QNamecreateOutputMessageName(OperationInfo op, Method method)
    
protected  voidcreateOutputWrappedMessageParts(OperationInfo op, Method method, MessageInfo outMsg)
    
protected  ServiceInfocreateServiceInfo(InterfaceInfo intf)
    
protected  voidcreateWrappedSchema(ServiceInfo serviceInfo, AbstractMessageContainer wrappedMessage, AbstractMessageContainer unwrappedMessage, QName wraperBeanName)
    
protected  StringgetAction(OperationInfo op, Method method)
    
protected  ClassgetBeanClass(Class exClass)
    
public  List<AbstractServiceConfiguration>getConfigurations()
    
public  EndpointInfogetEndpointInfo()
    
public  QNamegetEndpointName()
    
public  ExecutorgetExecutor()
    
protected  QNamegetFaultName(InterfaceInfo service, OperationInfo o, Class exClass, Class beanClass)
    
protected  ClassgetHolderClass(ParameterizedType paramType)
    
public  List<String>getIgnoredClasses()
    
public  List<Method>getIgnoredMethods()
    
protected  QNamegetInParameterName(OperationInfo op, Method method, int paramNumber)
    
protected  QNamegetInPartName(OperationInfo op, Method method, int paramNumber)
    
protected  QNamegetInputMessageName(OperationInfo op, Method method)
    
protected  InterfaceInfogetInterfaceInfo()
    
public  QNamegetInterfaceName()
    
public  InvokergetInvoker()
    
protected  SimpleMethodDispatchergetMethodDispatcher()
    
protected  QNamegetOperationName(InterfaceInfo service, Method method)
     Creates a name for the operation from the method name.
protected  QNamegetOutParameterName(OperationInfo op, Method method, int paramNumber)
    
protected  QNamegetOutPartName(OperationInfo op, Method method, int paramNumber)
    
public  Map<String, Object>getProperties()
    
protected  ClassgetRequestWrapper(Method selected)
    
protected  StringgetRequestWrapperClassName(Method selected)
    
protected  ClassgetResponseWrapper(Method selected)
    
protected  StringgetResponseWrapperClassName(Method selected)
    
public  ClassgetServiceClass()
    
public  List<AbstractServiceConfiguration>getServiceConfigurations()
    
protected  StringgetServiceName()
    
protected  StringgetServiceNamespace()
    
public  QNamegetServiceQName()
    
public  StringgetStyle()
    
public  BooleangetWrapped()
     Returns non-null if wrapped mode was explicitely disabled or enabled.
public  StringgetWsdlURL()
    
protected  booleanhasOutMessage(Method m)
    
protected  voidinitializeDefaultInterceptors()
    
protected  voidinitializeFaultInterceptors()
    
protected  voidinitializeFaults(InterfaceInfo service, OperationInfo op, Method method)
    
protected  voidinitializeParameter(MessagePartInfo part, Class rawClass, Type type)
    
protected  voidinitializeServiceConfigurations()
    
protected  voidinitializeServiceModel()
    
protected  voidinitializeWSDLOperation(InterfaceInfo intf, OperationInfo o, Method selected)
    
protected  voidinitializeWSDLOperations()
    
protected  voidinitializeWrappedSchema(ServiceInfo serviceInfo)
    
protected  booleanisAsync(Method method)
    
public  booleanisHeader(Method method, int j)
    
protected  booleanisInParam(Method method, int j)
    
protected  booleanisMatchOperation(String methodNameInClass, String methodNameInWsdl)
    
protected  booleanisOutParam(Method method, int j)
    
public  booleanisPopulateFromClass()
    
public  booleanisRPC(Method method)
    
protected  booleanisValidMethod(Method method)
    
protected  booleanisWrapped(Method method)
    
public  booleanisWrapped()
    
protected  booleanqualifyWrapperSchema()
    
public  voidsetConfigurations(List<AbstractServiceConfiguration> configurations)
    
public  voidsetEndpointName(QName en)
    
public  voidsetExecutor(Executor executor)
    
public  voidsetIgnoredClasses(List<String> ignoredClasses)
    
public  voidsetIgnoredMethods(List<Method> ignoredMethods)
    
public  voidsetInvoker(Invoker invoker)
    
public  voidsetPopulateFromClass(boolean fomClass)
    
public  voidsetProperties(Map<String, Object> properties)
    
public  voidsetServiceClass(Class serviceClass)
    
public  voidsetServiceConfigurations(List<AbstractServiceConfiguration> serviceConfigurations)
    
public  voidsetServiceName(QName serviceName)
    
public  voidsetWrapped(boolean style)
    
public  voidsetWsdlURL(String wsdlURL)
    
public  voidsetWsdlURL(URL wsdlURL)
    

Field Detail
ELEMENT_NAME
final public static String ELEMENT_NAME(Code)



ENDPOINT_CLASS
final public static String ENDPOINT_CLASS(Code)



GENERIC_TYPE
final public static String GENERIC_TYPE(Code)



HEADER
final public static String HEADER(Code)



HOLDER
final public static String HOLDER(Code)



METHOD
final public static String METHOD(Code)



MODE_INOUT
final public static String MODE_INOUT(Code)



MODE_OUT
final public static String MODE_OUT(Code)



serviceClass
protected Class serviceClass(Code)



wsdlURL
protected String wsdlURL(Code)




Constructor Detail
ReflectionServiceFactoryBean
public ReflectionServiceFactoryBean()(Code)




Method Detail
addFault
protected FaultInfo addFault(InterfaceInfo service, OperationInfo op, Class exClass)(Code)



buildServiceFromClass
protected void buildServiceFromClass()(Code)



buildServiceFromWSDL
protected void buildServiceFromWSDL(String url)(Code)



checkForHeaderElement
protected void checkForHeaderElement(ServiceInfo serviceInfo, MessagePartInfo mpi)(Code)



create
public Service create()(Code)



createBareMessage
protected void createBareMessage(ServiceInfo serviceInfo, OperationInfo opInfo, boolean isOut)(Code)



createEndpoint
public Endpoint createEndpoint(EndpointInfo ei) throws EndpointException(Code)



createEndpoints
protected void createEndpoints()(Code)



createFaultForException
protected void createFaultForException(Class exClass, FaultInfo fi)(Code)



createInputWrappedMessageParts
protected void createInputWrappedMessageParts(OperationInfo op, Method method, MessageInfo inMsg)(Code)



createInterface
protected InterfaceInfo createInterface(ServiceInfo serviceInfo)(Code)



createInvoker
protected Invoker createInvoker()(Code)



createMessageParts
protected void createMessageParts(InterfaceInfo intf, OperationInfo op, Method method)(Code)



createOperation
protected OperationInfo createOperation(ServiceInfo serviceInfo, InterfaceInfo intf, Method m)(Code)



createOutputMessageName
protected QName createOutputMessageName(OperationInfo op, Method method)(Code)



createOutputWrappedMessageParts
protected void createOutputWrappedMessageParts(OperationInfo op, Method method, MessageInfo outMsg)(Code)



createServiceInfo
protected ServiceInfo createServiceInfo(InterfaceInfo intf)(Code)



createWrappedSchema
protected void createWrappedSchema(ServiceInfo serviceInfo, AbstractMessageContainer wrappedMessage, AbstractMessageContainer unwrappedMessage, QName wraperBeanName)(Code)



getAction
protected String getAction(OperationInfo op, Method method)(Code)



getBeanClass
protected Class getBeanClass(Class exClass)(Code)



getConfigurations
public List<AbstractServiceConfiguration> getConfigurations()(Code)



getEndpointInfo
public EndpointInfo getEndpointInfo()(Code)



getEndpointName
public QName getEndpointName()(Code)



getExecutor
public Executor getExecutor()(Code)



getFaultName
protected QName getFaultName(InterfaceInfo service, OperationInfo o, Class exClass, Class beanClass)(Code)



getHolderClass
protected Class getHolderClass(ParameterizedType paramType)(Code)



getIgnoredClasses
public List<String> getIgnoredClasses()(Code)



getIgnoredMethods
public List<Method> getIgnoredMethods()(Code)



getInParameterName
protected QName getInParameterName(OperationInfo op, Method method, int paramNumber)(Code)



getInPartName
protected QName getInPartName(OperationInfo op, Method method, int paramNumber)(Code)



getInputMessageName
protected QName getInputMessageName(OperationInfo op, Method method)(Code)



getInterfaceInfo
protected InterfaceInfo getInterfaceInfo()(Code)



getInterfaceName
public QName getInterfaceName()(Code)



getInvoker
public Invoker getInvoker()(Code)



getMethodDispatcher
protected SimpleMethodDispatcher getMethodDispatcher()(Code)



getOperationName
protected QName getOperationName(InterfaceInfo service, Method method)(Code)
Creates a name for the operation from the method name. If an operation with that name already exists, a name is create by appending an integer to the end. I.e. if there is already two methods named doSomething, the first one will have an operation name of "doSomething" and the second "doSomething1".
Parameters:
  service -
Parameters:
  method -



getOutParameterName
protected QName getOutParameterName(OperationInfo op, Method method, int paramNumber)(Code)



getOutPartName
protected QName getOutPartName(OperationInfo op, Method method, int paramNumber)(Code)



getProperties
public Map<String, Object> getProperties()(Code)



getRequestWrapper
protected Class getRequestWrapper(Method selected)(Code)



getRequestWrapperClassName
protected String getRequestWrapperClassName(Method selected)(Code)



getResponseWrapper
protected Class getResponseWrapper(Method selected)(Code)



getResponseWrapperClassName
protected String getResponseWrapperClassName(Method selected)(Code)



getServiceClass
public Class getServiceClass()(Code)



getServiceConfigurations
public List<AbstractServiceConfiguration> getServiceConfigurations()(Code)



getServiceName
protected String getServiceName()(Code)



getServiceNamespace
protected String getServiceNamespace()(Code)



getServiceQName
public QName getServiceQName()(Code)



getStyle
public String getStyle()(Code)



getWrapped
public Boolean getWrapped()(Code)
Returns non-null if wrapped mode was explicitely disabled or enabled.



getWsdlURL
public String getWsdlURL()(Code)



hasOutMessage
protected boolean hasOutMessage(Method m)(Code)



initializeDefaultInterceptors
protected void initializeDefaultInterceptors()(Code)



initializeFaultInterceptors
protected void initializeFaultInterceptors()(Code)



initializeFaults
protected void initializeFaults(InterfaceInfo service, OperationInfo op, Method method)(Code)



initializeParameter
protected void initializeParameter(MessagePartInfo part, Class rawClass, Type type)(Code)



initializeServiceConfigurations
protected void initializeServiceConfigurations()(Code)



initializeServiceModel
protected void initializeServiceModel()(Code)



initializeWSDLOperation
protected void initializeWSDLOperation(InterfaceInfo intf, OperationInfo o, Method selected)(Code)



initializeWSDLOperations
protected void initializeWSDLOperations()(Code)



initializeWrappedSchema
protected void initializeWrappedSchema(ServiceInfo serviceInfo)(Code)



isAsync
protected boolean isAsync(Method method)(Code)



isHeader
public boolean isHeader(Method method, int j)(Code)



isInParam
protected boolean isInParam(Method method, int j)(Code)



isMatchOperation
protected boolean isMatchOperation(String methodNameInClass, String methodNameInWsdl)(Code)



isOutParam
protected boolean isOutParam(Method method, int j)(Code)



isPopulateFromClass
public boolean isPopulateFromClass()(Code)



isRPC
public boolean isRPC(Method method)(Code)



isValidMethod
protected boolean isValidMethod(Method method)(Code)



isWrapped
protected boolean isWrapped(Method method)(Code)



isWrapped
public boolean isWrapped()(Code)



qualifyWrapperSchema
protected boolean qualifyWrapperSchema()(Code)



setConfigurations
public void setConfigurations(List<AbstractServiceConfiguration> configurations)(Code)



setEndpointName
public void setEndpointName(QName en)(Code)



setExecutor
public void setExecutor(Executor executor)(Code)



setIgnoredClasses
public void setIgnoredClasses(List<String> ignoredClasses)(Code)



setIgnoredMethods
public void setIgnoredMethods(List<Method> ignoredMethods)(Code)



setInvoker
public void setInvoker(Invoker invoker)(Code)



setPopulateFromClass
public void setPopulateFromClass(boolean fomClass)(Code)



setProperties
public void setProperties(Map<String, Object> properties)(Code)



setServiceClass
public void setServiceClass(Class serviceClass)(Code)



setServiceConfigurations
public void setServiceConfigurations(List<AbstractServiceConfiguration> serviceConfigurations)(Code)



setServiceName
public void setServiceName(QName serviceName)(Code)



setWrapped
public void setWrapped(boolean style)(Code)



setWsdlURL
public void setWsdlURL(String wsdlURL)(Code)



setWsdlURL
public void setWsdlURL(URL wsdlURL)(Code)



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