org.logicblaze.lingo.jms
Class JmsProxyFactoryBean
java.lang.Object
org.springframework.remoting.support.RemoteAccessor
org.springframework.remoting.support.UrlBasedRemoteAccessor
org.springframework.remoting.support.RemoteInvocationBasedAccessor
org.logicblaze.lingo.jms.JmsClientInterceptor
org.logicblaze.lingo.jms.JmsProxyFactoryBean
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
- public class JmsProxyFactoryBean
- extends JmsClientInterceptor
- implements org.springframework.beans.factory.FactoryBean
Factory bean for JMS proxies. Behaves like the proxied service when
used as bean reference, exposing the specified service interface.
The service URL must be an JMS URL exposing a JMS service.
For details, see JmsClientInterceptor docs.
- Author:
- James Strachan
- See Also:
JmsClientInterceptor
,
JmsServiceExporter
Fields inherited from class org.springframework.remoting.support.RemoteAccessor |
logger |
Methods inherited from class org.logicblaze.lingo.jms.JmsClientInterceptor |
createMetadataStrategy, createRemoteInvocationFactory, destroy, getConnectionFactory, getDestination, getMarshaller, getRequestor, getResponseDestination, invoke, populateHeaders, recreateRemoteInvocationResult, remoteReference, replaceRemoteReferences, setConnectionFactory, setCorrelationID, setDestination, setMarshaller, setRequestor, setResponseDestination |
Methods inherited from class org.springframework.remoting.support.RemoteInvocationBasedAccessor |
createRemoteInvocation, getRemoteInvocationFactory, setRemoteInvocationFactory |
Methods inherited from class org.springframework.remoting.support.UrlBasedRemoteAccessor |
getServiceUrl, setServiceUrl |
Methods inherited from class org.springframework.remoting.support.RemoteAccessor |
getServiceInterface, setServiceInterface |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsProxyFactoryBean
public JmsProxyFactoryBean()
afterPropertiesSet
public void afterPropertiesSet()
throws JMSException
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in class JmsClientInterceptor
- Throws:
JMSException
getObject
public Object getObject()
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
Copyright © 2005 LogicBlaze, Inc.. All Rights Reserved.