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
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
,
BurlapProxyFactoryBean
,
HttpInvokerProxyFactoryBean
,
RmiProxyFactoryBean
Constructor and Description |
---|
HessianProxyFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
Object |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
convertHessianAccessException, createHessianProxy, invoke, prepare, setChunkedPost, setDebug, setHessian2, setHessian2Reply, setHessian2Request, setOverloadEnabled, setPassword, setProxyFactory, setReadTimeout, setSendCollectionType, setSerializerFactory, setUsername
getServiceUrl, setServiceUrl
getServiceInterface, setServiceInterface
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class HessianClientInterceptor
public 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>