Package org.apache.camel.spring.remoting
Class CamelServiceExporter
- java.lang.Object
-
- org.springframework.remoting.support.RemotingSupport
-
- org.springframework.remoting.support.RemoteExporter
-
- org.apache.camel.spring.remoting.CamelServiceExporter
-
- All Implemented Interfaces:
org.apache.camel.CamelContextAware,Aware,BeanClassLoaderAware,DisposableBean,InitializingBean,ApplicationContextAware
public class CamelServiceExporter extends RemoteExporter implements InitializingBean, DisposableBean, ApplicationContextAware, org.apache.camel.CamelContextAware
AFactoryBeanto create a proxy to a service exposing a givenRemoteExporter.getServiceInterface()
-
-
Field Summary
-
Fields inherited from class org.springframework.remoting.support.RemotingSupport
logger
-
-
Constructor Summary
Constructors Constructor Description CamelServiceExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voiddestroy()ApplicationContextgetApplicationContext()org.apache.camel.CamelContextgetCamelContext()StringgetMethod()StringgetServiceRef()StringgetUri()voidsetApplicationContext(ApplicationContext applicationContext)voidsetCamelContext(org.apache.camel.CamelContext camelContext)voidsetCamelContextId(String camelContextId)voidsetMethod(String method)voidsetServiceRef(String serviceRef)voidsetUri(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
-
-
-
-
Constructor Detail
-
CamelServiceExporter
public CamelServiceExporter()
-
-
Method Detail
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
- Specified by:
getCamelContextin interfaceorg.apache.camel.CamelContextAware
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
- Specified by:
setCamelContextin interfaceorg.apache.camel.CamelContextAware
-
setCamelContextId
public void setCamelContextId(String camelContextId)
-
getServiceRef
public String getServiceRef()
-
setServiceRef
public void setServiceRef(String serviceRef)
-
getApplicationContext
public ApplicationContext getApplicationContext()
-
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
- Specified by:
setApplicationContextin interfaceApplicationContextAware- Throws:
BeansException
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSetin interfaceInitializingBean- Throws:
Exception
-
destroy
public void destroy() throws Exception
- Specified by:
destroyin interfaceDisposableBean- Throws:
Exception
-
-