org.apache.camel.spring.remoting
Class CamelServiceExporter
java.lang.Object
org.springframework.remoting.support.RemotingSupport
org.springframework.remoting.support.RemoteExporter
org.apache.camel.spring.remoting.CamelServiceExporter
- All Implemented Interfaces:
- CamelContextAware, BeanClassLoaderAware, DisposableBean, InitializingBean, ApplicationContextAware
public class CamelServiceExporter
- extends RemoteExporter
- implements InitializingBean, DisposableBean, ApplicationContextAware, CamelContextAware
A FactoryBean
to create a proxy to a service exposing a given RemoteExporter.getServiceInterface()
- Author:
- chirino
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelServiceExporter
public CamelServiceExporter()
getUri
public String getUri()
setUri
public void setUri(String uri)
getCamelContext
public CamelContext getCamelContext()
setCamelContext
public void setCamelContext(CamelContext camelContext)
- Specified by:
setCamelContext
in interface CamelContextAware
getServiceRef
public String getServiceRef()
setServiceRef
public void setServiceRef(String serviceRef)
getApplicationContext
public ApplicationContext getApplicationContext()
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext
in interface ApplicationContextAware
- Throws:
BeansException
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface DisposableBean
- Throws:
Exception
Copyright © 2009 Apache Software Foundation. All Rights Reserved.