public class CamelProxyFactoryBean extends org.springframework.remoting.support.UrlBasedRemoteAccessor implements org.springframework.beans.factory.FactoryBean<Object>, org.apache.camel.CamelContextAware, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
FactoryBean
to create a Proxy to a a Camel Pojo Endpoint.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(org.springframework.context.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
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.springframework.remoting.support.UrlBasedRemoteAccessor
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
public Class<?> getServiceInterface()
getServiceInterface
in class org.springframework.remoting.support.RemoteAccessor
public String getServiceUrl()
getServiceUrl
in class org.springframework.remoting.support.UrlBasedRemoteAccessor
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<Object>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.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(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Apache Camel