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 |
getMethod() |
String |
getServiceRef() |
String |
getUri() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setCamelContextId(String camelContextId) |
void |
setMethod(String method) |
void |
setServiceRef(String serviceRef) |
void |
setUri(String uri) |
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterface
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
public CamelServiceExporter()
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
public 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.ApplicationContextAware
org.springframework.beans.BeansException
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
Apache Camel