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


org.springframework.remoting.support.UrlBasedRemoteAccessor
   org.springframework.remoting.caucho.BurlapClientInterceptor

All known Subclasses:   org.springframework.remoting.caucho.BurlapProxyFactoryBean,
BurlapClientInterceptor
public class BurlapClientInterceptor extends UrlBasedRemoteAccessor implements MethodInterceptor(Code)
Interceptor for accessing a Burlap service. Supports authentication via username and password. The service URL must be an HTTP URL exposing a Burlap service.

Burlap is a slim, XML-based RPC protocol. For information on Burlap, see the Burlap website

Note: There is no requirement for services accessed with this proxy factory to have been exported using Spring's BurlapServiceExporter , as there is no special handling involved. As a consequence, you can also access services that have been exported using Caucho's com.caucho.burlap.server.BurlapServlet .
author:
   Juergen Hoeller
since:
   29.09.2003
See Also:   BurlapClientInterceptor.setServiceInterface
See Also:   BurlapClientInterceptor.setServiceUrl
See Also:   BurlapClientInterceptor.setUsername
See Also:   BurlapClientInterceptor.setPassword
See Also:   BurlapServiceExporter
See Also:   BurlapProxyFactoryBean
See Also:   com.caucho.burlap.client.BurlapProxyFactory
See Also:   com.caucho.burlap.server.BurlapServlet





Method Summary
public  voidafterPropertiesSet()
    
protected  RemoteAccessExceptionconvertBurlapAccessException(Throwable ex)
     Convert the given Burlap access exception to an appropriate Spring RemoteAccessException.
protected  ObjectcreateBurlapProxy(BurlapProxyFactory proxyFactory)
     Create the Burlap proxy that is wrapped by this interceptor.
public  Objectinvoke(MethodInvocation invocation)
    
public  voidprepare()
     Initialize the Burlap proxy for this interceptor.
public  voidsetOverloadEnabled(boolean overloadEnabled)
     Set whether overloaded methods should be enabled for remote invocations.
public  voidsetPassword(String password)
     Set the password that this factory should use to access the remote service.
public  voidsetProxyFactory(BurlapProxyFactory proxyFactory)
     Set the BurlapProxyFactory instance to use.
public  voidsetUsername(String username)
     Set the username that this factory should use to access the remote service.



Method Detail
afterPropertiesSet
public void afterPropertiesSet()(Code)



convertBurlapAccessException
protected RemoteAccessException convertBurlapAccessException(Throwable ex)(Code)
Convert the given Burlap access exception to an appropriate Spring RemoteAccessException.
Parameters:
  ex - the exception to convert the RemoteAccessException to throw



createBurlapProxy
protected Object createBurlapProxy(BurlapProxyFactory proxyFactory) throws MalformedURLException(Code)
Create the Burlap proxy that is wrapped by this interceptor.
Parameters:
  proxyFactory - the proxy factory to use the Burlap proxy
throws:
  MalformedURLException - if thrown by the proxy factory
See Also:   com.caucho.burlap.client.BurlapProxyFactory.create



invoke
public Object invoke(MethodInvocation invocation) throws Throwable(Code)



prepare
public void prepare() throws RemoteLookupFailureException(Code)
Initialize the Burlap proxy for this interceptor.
throws:
  RemoteLookupFailureException - if the service URL is invalid



setOverloadEnabled
public void setOverloadEnabled(boolean overloadEnabled)(Code)
Set whether overloaded methods should be enabled for remote invocations. Default is "false".
See Also:   com.caucho.burlap.client.BurlapProxyFactory.setOverloadEnabled



setPassword
public void setPassword(String password)(Code)
Set the password that this factory should use to access the remote service. Default is none.

The password will be sent by Burlap via HTTP Basic Authentication.
See Also:   com.caucho.burlap.client.BurlapProxyFactory.setPassword




setProxyFactory
public void setProxyFactory(BurlapProxyFactory proxyFactory)(Code)
Set the BurlapProxyFactory instance to use. If not specified, a default BurlapProxyFactory will be created.

Allows to use an externally configured factory instance, in particular a custom BurlapProxyFactory subclass.




setUsername
public void setUsername(String username)(Code)
Set the username that this factory should use to access the remote service. Default is none.

The username will be sent by Burlap via HTTP Basic Authentication.
See Also:   com.caucho.burlap.client.BurlapProxyFactory.setUser




Methods inherited from org.springframework.remoting.support.UrlBasedRemoteAccessor
public void afterPropertiesSet()(Code)(Java Doc)
public String getServiceUrl()(Code)(Java Doc)
public void setServiceUrl(String serviceUrl)(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.