public class HessianProxyFactoryBean extends HessianClientInterceptor implements org.springframework.beans.factory.FactoryBean<Object>
FactoryBean for Hessian proxies. Exposes the proxied service
for use as a bean reference, using the specified service interface.
Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website Note: As of Spring 4.0, this proxy factory requires Hessian 4.0 or above.
The service URL must be an HTTP URL exposing a Hessian service.
For details, see the HessianClientInterceptor javadoc.
RemoteAccessor.setServiceInterface(java.lang.Class<?>),
UrlBasedRemoteAccessor.setServiceUrl(java.lang.String),
HessianClientInterceptor,
HessianServiceExporter,
HttpInvokerProxyFactoryBean,
RmiProxyFactoryBean| Constructor and Description |
|---|
HessianProxyFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Object |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
convertHessianAccessException, createHessianProxy, invoke, prepare, setAllowNonSerializable, setChunkedPost, setConnectionFactory, setConnectTimeout, setDebug, setHessian2, setHessian2Reply, setHessian2Request, setOverloadEnabled, setPassword, setProxyFactory, setReadTimeout, setSendCollectionType, setSerializerFactory, setUsernamegetServiceUrl, setServiceUrlgetServiceInterface, setServiceInterfacepublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class HessianClientInterceptorpublic Object getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<Object>public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<Object>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<Object>