java.lang.Object | ||||
↳ | org.springframework.remoting.support.RemotingSupport | |||
↳ | org.springframework.remoting.support.RemoteAccessor | |||
↳ | org.springframework.remoting.support.UrlBasedRemoteAccessor | |||
↳ | org.springframework.remoting.caucho.BurlapClientInterceptor |
Known Direct Subclasses |
org.aopalliance.intercept.MethodInterceptor 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.
setServiceInterface(Class)
setServiceUrl(String)
setUsername(String)
setPassword(String)
BurlapServiceExporter
BurlapProxyFactoryBean
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.remoting.support.RemotingSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
| |||||||||||
Initialize the Burlap proxy for this interceptor.
| |||||||||||
Set whether overloaded methods should be enabled for remote invocations.
| |||||||||||
Set the password that this factory should use to access the remote service.
| |||||||||||
Set the BurlapProxyFactory instance to use.
| |||||||||||
Set the username that this factory should use to access the remote service.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convert the given Burlap access exception to an appropriate
Spring RemoteAccessException.
| |||||||||||
Create the Burlap proxy that is wrapped by this interceptor.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.remoting.support.UrlBasedRemoteAccessor
| |||||||||||
From class
org.springframework.remoting.support.RemoteAccessor
| |||||||||||
From class
org.springframework.remoting.support.RemotingSupport
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.BeanClassLoaderAware
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
|
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
Initialize the Burlap proxy for this interceptor.
RemoteLookupFailureException | if the service URL is invalid |
---|
Set whether overloaded methods should be enabled for remote invocations. Default is "false".
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.
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.
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.
Convert the given Burlap access exception to an appropriate Spring RemoteAccessException.
ex | the exception to convert |
---|
Create the Burlap proxy that is wrapped by this interceptor.
proxyFactory | the proxy factory to use |
---|
MalformedURLException | if thrown by the proxy factory |
---|