Java Doc for LocalJaxRpcServiceFactory.java in  » J2EE » spring-framework-2.0.6 » org » springframework » remoting » jaxrpc » 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 » J2EE » spring framework 2.0.6 » org.springframework.remoting.jaxrpc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory

All known Subclasses:   org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor,  org.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactoryBean,
LocalJaxRpcServiceFactory
public class LocalJaxRpcServiceFactory (Code)
Factory for locally defined JAX-RPC javax.xml.rpc.Service references. Uses a JAX-RPC javax.xml.rpc.ServiceFactory underneath.

Serves as base class for LocalJaxRpcServiceFactoryBean as well as JaxRpcPortClientInterceptor and JaxRpcPortProxyFactoryBean .
author:
   Juergen Hoeller
since:
   15.12.2003
See Also:   javax.xml.rpc.ServiceFactory
See Also:   javax.xml.rpc.Service
See Also:   LocalJaxRpcServiceFactoryBean
See Also:   JaxRpcPortClientInterceptor
See Also:   JaxRpcPortProxyFactoryBean



Field Summary
final protected  Loglogger
    


Method Summary
public  ServicecreateJaxRpcService()
     Create a JAX-RPC Service according to the parameters of this factory.
protected  ServicecreateService(ServiceFactory serviceFactory)
     Actually create the JAX-RPC Service instance, based on this factory's settings.
protected  ServiceFactorycreateServiceFactory()
     Create a JAX-RPC ServiceFactory, either of the specified class or the default.
public  ClassgetJaxRpcServiceInterface()
     Return the JAX-RPC service interface to use for looking up the service.
public  PropertiesgetJaxRpcServiceProperties()
     Return JAX-RPC service properties to be passed to the ServiceFactory, if any.
public  StringgetNamespaceUri()
     Return the namespace URI of the service.
protected  QNamegetQName(String name)
     Return a QName for the given name, relative to the namespace URI of this factory, if given.
public  ServiceFactorygetServiceFactory()
     Return the specified ServiceFactory instance, if any.
public  ClassgetServiceFactoryClass()
     Return the ServiceFactory class to use, or null if default.
public  StringgetServiceName()
     Return the name of the service.
public  JaxRpcServicePostProcessor[]getServicePostProcessors()
     Return the JaxRpcServicePostProcessors to be applied to JAX-RPC Service instances created by this factory.
public  URLgetWsdlDocumentUrl()
     Return the URL of the WSDL document that describes the service.
protected  voidpostProcessJaxRpcService(Service service)
     Post-process the given JAX-RPC Service.
public  voidsetJaxRpcServiceInterface(Class jaxRpcServiceInterface)
     Set the JAX-RPC service interface to use for looking up the service.
public  voidsetJaxRpcServiceProperties(Properties jaxRpcServiceProperties)
     Set JAX-RPC service properties to be passed to the ServiceFactory, if any.
public  voidsetNamespaceUri(String namespaceUri)
     Set the namespace URI of the service.
public  voidsetServiceFactory(ServiceFactory serviceFactory)
     Set the ServiceFactory instance to use.
public  voidsetServiceFactoryClass(Class serviceFactoryClass)
     Set the ServiceFactory class to use, for example "org.apache.axis.client.ServiceFactory".
public  voidsetServiceName(String serviceName)
     Set the name of the service to look up.
public  voidsetServicePostProcessors(JaxRpcServicePostProcessor[] servicePostProcessors)
     Set the JaxRpcServicePostProcessors to be applied to JAX-RPC Service instances created by this factory.
public  voidsetWsdlDocumentUrl(URL wsdlDocumentUrl)
     Set the URL of the WSDL document that describes the service.

Field Detail
logger
final protected Log logger(Code)
Logger that is available to subclasses





Method Detail
createJaxRpcService
public Service createJaxRpcService() throws ServiceException(Code)
Create a JAX-RPC Service according to the parameters of this factory.
See Also:   LocalJaxRpcServiceFactory.setServiceName
See Also:   LocalJaxRpcServiceFactory.setWsdlDocumentUrl
See Also:   LocalJaxRpcServiceFactory.postProcessJaxRpcService



createService
protected Service createService(ServiceFactory serviceFactory) throws ServiceException(Code)
Actually create the JAX-RPC Service instance, based on this factory's settings.
Parameters:
  serviceFactory - the JAX-RPC ServiceFactory to use the newly created JAX-RPC Service
throws:
  ServiceException - if thrown by JAX-RPC methods
See Also:   javax.xml.rpc.ServiceFactory.createService
See Also:   javax.xml.rpc.ServiceFactory.loadService



createServiceFactory
protected ServiceFactory createServiceFactory() throws ServiceException(Code)
Create a JAX-RPC ServiceFactory, either of the specified class or the default.
throws:
  ServiceException - if thrown by JAX-RPC methods
See Also:   LocalJaxRpcServiceFactory.setServiceFactoryClass
See Also:   javax.xml.rpc.ServiceFactory.newInstance



getJaxRpcServiceInterface
public Class getJaxRpcServiceInterface()(Code)
Return the JAX-RPC service interface to use for looking up the service.



getJaxRpcServiceProperties
public Properties getJaxRpcServiceProperties()(Code)
Return JAX-RPC service properties to be passed to the ServiceFactory, if any.



getNamespaceUri
public String getNamespaceUri()(Code)
Return the namespace URI of the service.



getQName
protected QName getQName(String name)(Code)
Return a QName for the given name, relative to the namespace URI of this factory, if given.
See Also:   LocalJaxRpcServiceFactory.setNamespaceUri



getServiceFactory
public ServiceFactory getServiceFactory()(Code)
Return the specified ServiceFactory instance, if any.



getServiceFactoryClass
public Class getServiceFactoryClass()(Code)
Return the ServiceFactory class to use, or null if default.



getServiceName
public String getServiceName()(Code)
Return the name of the service.



getServicePostProcessors
public JaxRpcServicePostProcessor[] getServicePostProcessors()(Code)
Return the JaxRpcServicePostProcessors to be applied to JAX-RPC Service instances created by this factory.



getWsdlDocumentUrl
public URL getWsdlDocumentUrl()(Code)
Return the URL of the WSDL document that describes the service.



postProcessJaxRpcService
protected void postProcessJaxRpcService(Service service)(Code)
Post-process the given JAX-RPC Service. Called by LocalJaxRpcServiceFactory.createJaxRpcService . Useful, for example, to register custom type mappings.

The default implementation delegates to all registered JaxRpcServicePostProcessor JaxRpcServicePostProcessors . It is usually preferable to implement custom type mappings etc there rather than in a subclass of this factory, to allow for reuse of the post-processors.
Parameters:
  service - the current JAX-RPC Service(can be cast to an implementation-specific class if necessary)
See Also:   LocalJaxRpcServiceFactory.setServicePostProcessors
See Also:   javax.xml.rpc.Service.getTypeMappingRegistry




setJaxRpcServiceInterface
public void setJaxRpcServiceInterface(Class jaxRpcServiceInterface)(Code)
Set the JAX-RPC service interface to use for looking up the service. If specified, this will override a "serviceName" setting.

The specified interface will usually be a generated JAX-RPC service interface that directly corresponds to the WSDL service declaration. Note that this is not a port interface or the application-level service interface to be exposed by a port proxy!

Only supported by JAX-RPC 1.1 providers.
See Also:   LocalJaxRpcServiceFactory.setServiceName
See Also:   javax.xml.rpc.ServiceFactory.loadService(Class)
See Also:   javax.xml.rpc.ServiceFactory.loadService(java.net.URLClassjava.util.Properties)




setJaxRpcServiceProperties
public void setJaxRpcServiceProperties(Properties jaxRpcServiceProperties)(Code)
Set JAX-RPC service properties to be passed to the ServiceFactory, if any.

Only supported by JAX-RPC 1.1 providers.
See Also:   javax.xml.rpc.ServiceFactory.loadService(java.net.URLjavax.xml.namespace.QNamejava.util.Properties)
See Also:   javax.xml.rpc.ServiceFactory.loadService(java.net.URLClassjava.util.Properties)




setNamespaceUri
public void setNamespaceUri(String namespaceUri)(Code)
Set the namespace URI of the service. Corresponds to the WSDL "targetNamespace".



setServiceFactory
public void setServiceFactory(ServiceFactory serviceFactory)(Code)
Set the ServiceFactory instance to use.

This is an alternative to the common "serviceFactoryClass" property, allowing for a pre-initialized ServiceFactory instance to be specified.
See Also:   LocalJaxRpcServiceFactory.setServiceFactoryClass




setServiceFactoryClass
public void setServiceFactoryClass(Class serviceFactoryClass)(Code)
Set the ServiceFactory class to use, for example "org.apache.axis.client.ServiceFactory".

Does not need to be set if the JAX-RPC implementation has registered itself with the JAX-RPC system property "SERVICEFACTORY_PROPERTY".
See Also:   javax.xml.rpc.ServiceFactory




setServiceName
public void setServiceName(String serviceName)(Code)
Set the name of the service to look up. Corresponds to the "wsdl:service" name.
See Also:   javax.xml.rpc.ServiceFactory.createService(javax.xml.namespace.QName)
See Also:   javax.xml.rpc.ServiceFactory.createService(java.net.URLjavax.xml.namespace.QName)
See Also:   javax.xml.rpc.ServiceFactory.loadService(java.net.URLjavax.xml.namespace.QNamejava.util.Properties)



setServicePostProcessors
public void setServicePostProcessors(JaxRpcServicePostProcessor[] servicePostProcessors)(Code)
Set the JaxRpcServicePostProcessors to be applied to JAX-RPC Service instances created by this factory.

Such post-processors can, for example, register custom type mappings. They are reusable across all pre-built subclasses of this factory: LocalJaxRpcServiceFactoryBean, JaxRpcPortClientInterceptor, JaxRpcPortProxyFactoryBean.
See Also:   LocalJaxRpcServiceFactoryBean
See Also:   JaxRpcPortClientInterceptor
See Also:   JaxRpcPortProxyFactoryBean




setWsdlDocumentUrl
public void setWsdlDocumentUrl(URL wsdlDocumentUrl)(Code)
Set the URL of the WSDL document that describes the service.



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.