public class CamelProxyFactoryBean extends UrlBasedRemoteAccessor implements FactoryBean<Object>, org.apache.camel.CamelContextAware, DisposableBean, ApplicationContextAware
FactoryBean
to create a Proxy to a a Camel Pojo Endpoint.logger
Constructor and Description |
---|
CamelProxyFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
org.apache.camel.CamelContext |
getCamelContext() |
org.apache.camel.Endpoint |
getEndpoint() |
Object |
getObject() |
Class<?> |
getObjectType() |
Class<?> |
getServiceInterface() |
String |
getServiceRef() |
String |
getServiceUrl() |
boolean |
isSingleton() |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setCamelContextId(String contextId) |
void |
setEndpoint(org.apache.camel.Endpoint endpoint) |
void |
setServiceRef(String serviceRef) |
setServiceUrl
setServiceInterface
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
public CamelProxyFactoryBean()
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class UrlBasedRemoteAccessor
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception
public Class<?> getServiceInterface()
getServiceInterface
in class RemoteAccessor
public String getServiceUrl()
getServiceUrl
in class UrlBasedRemoteAccessor
public Object getObject() throws Exception
getObject
in interface FactoryBean<Object>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<Object>
public boolean isSingleton()
isSingleton
in interface FactoryBean<Object>
public String getServiceRef()
public void setServiceRef(String serviceRef)
public org.apache.camel.Endpoint getEndpoint()
public void setEndpoint(org.apache.camel.Endpoint endpoint)
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 contextId)
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
Apache Camel