public class JmsInvokerProxyFactoryBean extends JmsInvokerClientInterceptor implements org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.BeanClassLoaderAware
Serializes remote invocation objects and deserializes remote invocation result objects. Uses Java serialization just like RMI, but with the JMS provider as communication infrastructure.
To be configured with a QueueConnectionFactory and a
target queue (either as Queue reference or as queue name).
| Constructor and Description |
|---|
JmsInvokerProxyFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Object |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setServiceInterface(Class<?> serviceInterface)
Set the interface that the proxy must implement.
|
convertJmsInvokerAccessException, createConnection, createRemoteInvocation, createRequestMessage, createSession, doExecuteRequest, executeRequest, extractInvocationResult, getConnectionFactory, getReceiveTimeout, invoke, onInvalidResponse, recreateRemoteInvocationResult, resolveQueue, resolveQueueName, setConnectionFactory, setDestinationResolver, setMessageConverter, setQueue, setQueueName, setReceiveTimeout, setRemoteInvocationFactorypublic void setServiceInterface(Class<?> serviceInterface)
serviceInterface - the interface that the proxy must implementIllegalArgumentException - if the supplied serviceInterface
is null, or if the supplied serviceInterface
is not an interface typepublic void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwarepublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class JmsInvokerClientInterceptorpublic 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>