org.logicblaze.lingo.jms
Class JmsProxyFactoryBean

java.lang.Object
  extended by org.springframework.remoting.support.RemoteAccessor
      extended by org.springframework.remoting.support.UrlBasedRemoteAccessor
          extended by org.springframework.remoting.support.RemoteInvocationBasedAccessor
              extended by org.logicblaze.lingo.jms.JmsClientInterceptor
                  extended by org.logicblaze.lingo.jms.JmsProxyFactoryBean
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

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

Field Summary
 
Fields inherited from class org.springframework.remoting.support.RemoteAccessor
logger
 
Constructor Summary
JmsProxyFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class org.logicblaze.lingo.jms.JmsClientInterceptor
createAsyncHandler, createMetadataStrategy, createRemoteInvocationFactory, createRequestor, createResultJoinHandler, destroy, getClientID, getConnectionFactory, getDestination, getJmsPriority, getJmsType, getMarshaller, getMessageProperties, getMetadataStrategy, getMultipleResponseTimeout, getProducerConfig, getRemoteReferenceTimeout, getRequestor, getResponseDestination, getResponseTimeout, getTimeToLive, invoke, isMultipleResponse, isMultipleResponsesExpected, isPersistentDelivery, populateHeaders, recreateRemoteInvocationResult, remoteReference, replaceRemoteReferences, setClientID, setConnectionFactory, setCorrelationID, setDestination, setJmsPriority, setJmsType, setMarshaller, setMessageProperties, setMetadataStrategy, setMultipleResponsesExpected, setMultipleResponseTimeout, setPersistentDelivery, setProducerConfig, setRemoteReferenceTimeout, setRequestor, setResponseDestination, setResponseTimeout, setTimeToLive
 
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
 

Constructor Detail

JmsProxyFactoryBean

public JmsProxyFactoryBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws javax.jms.JMSException
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class JmsClientInterceptor
Throws:
javax.jms.JMSException

getObject

public java.lang.Object getObject()
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean

getObjectType

public java.lang.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 © 2010 LogicBlaze, Inc.. All Rights Reserved.