public class CamelServiceExporter extends RemoteExporter implements InitializingBean, DisposableBean, ApplicationContextAware, org.apache.camel.CamelContextAware
FactoryBean
to create a proxy to a service exposing a given RemoteExporter.getServiceInterface()
logger
Constructor and Description |
---|
CamelServiceExporter() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
ApplicationContext |
getApplicationContext() |
org.apache.camel.CamelContext |
getCamelContext() |
String |
getServiceRef() |
String |
getUri() |
void |
setApplicationContext(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, 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 ApplicationContext getApplicationContext()
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception
Apache Camel