@Deprecated 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()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
|
Object |
getObject()
Deprecated.
|
Class<?> |
getObjectType()
Deprecated.
|
boolean |
isSingleton()
Deprecated.
|
void |
setBeanClassLoader(ClassLoader classLoader)
Deprecated.
|
void |
setServiceInterface(Class<?> serviceInterface)
Deprecated.
Set the interface that the proxy must implement.
|
convertJmsInvokerAccessException, createConnection, createRemoteInvocation, createRequestMessage, createSession, doExecuteRequest, executeRequest, extractInvocationResult, getConnectionFactory, getReceiveTimeout, invoke, onInvalidResponse, onReceiveTimeout, recreateRemoteInvocationResult, resolveQueue, resolveQueueName, setConnectionFactory, setDestinationResolver, setMessageConverter, setQueue, setQueueName, setReceiveTimeout, setRemoteInvocationFactory
public void setServiceInterface(Class<?> serviceInterface)
serviceInterface
- the interface that the proxy must implementIllegalArgumentException
- if the supplied serviceInterface
is not an interface typepublic void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class JmsInvokerClientInterceptor
@Nullable 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>