org.apache.camel.spring.remoting
Class CamelServiceExporter

java.lang.Object
  extended by org.springframework.remoting.support.RemotingSupport
      extended by org.springframework.remoting.support.RemoteExporter
          extended by org.apache.camel.spring.remoting.CamelServiceExporter
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class CamelServiceExporter
extends org.springframework.remoting.support.RemoteExporter
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware, org.apache.camel.CamelContextAware

A FactoryBean to create a proxy to a service exposing a given RemoteExporter.getServiceInterface()


Field Summary
 
Fields inherited from class org.springframework.remoting.support.RemotingSupport
logger
 
Constructor Summary
CamelServiceExporter()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 org.springframework.context.ApplicationContext getApplicationContext()
           
 org.apache.camel.CamelContext getCamelContext()
           
 String getServiceRef()
           
 String getUri()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setCamelContext(org.apache.camel.CamelContext camelContext)
           
 void setCamelContextId(String camelContextId)
           
 void setServiceRef(String serviceRef)
           
 void setUri(String uri)
           
 
Methods inherited from class org.springframework.remoting.support.RemoteExporter
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterface
 
Methods inherited from class org.springframework.remoting.support.RemotingSupport
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelServiceExporter

public CamelServiceExporter()
Method Detail

getUri

public String getUri()

setUri

public void setUri(String uri)

getCamelContext

public org.apache.camel.CamelContext getCamelContext()
Specified by:
getCamelContext in interface org.apache.camel.CamelContextAware

setCamelContext

public void setCamelContext(org.apache.camel.CamelContext camelContext)
Specified by:
setCamelContext in interface org.apache.camel.CamelContextAware

setCamelContextId

public void setCamelContextId(String camelContextId)

getServiceRef

public String getServiceRef()

setServiceRef

public void setServiceRef(String serviceRef)

getApplicationContext

public org.springframework.context.ApplicationContext getApplicationContext()

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception


Apache CAMEL