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
FactoryBean to create a proxy to a service exposing a given RemoteExporter.getServiceInterface()| Constructor and Description |
|---|
CamelServiceExporter() |
| Modifier and Type | Method and Description |
|---|---|
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) |
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterfacepublic String getUri()
public void setUri(String uri)
public org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContextId(String camelContextId)
public String getServiceRef()
public void setServiceRef(String serviceRef)
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionApache Camel