org.apache.camel.spring.remoting
Class CamelServiceExporter

java.lang.Object
  extended by org.springframework.remoting.support.RemoteExporter
      extended by org.apache.camel.spring.remoting.CamelServiceExporter
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class CamelServiceExporter
extends org.springframework.remoting.support.RemoteExporter
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

Exports a Spring defined service to Camel as a Pojo endpoint.

Author:
chirino

Field Summary
 
Fields inherited from class org.springframework.remoting.support.RemoteExporter
logger
 
Constructor Summary
CamelServiceExporter()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 org.apache.camel.CamelContext getCamelContext()
           
 org.apache.camel.component.pojo.PojoComponent getPojoComponent()
           
 String getServiceName()
           
 void setCamelContext(org.apache.camel.CamelContext camelContext)
           
 void setPojoComponent(org.apache.camel.component.pojo.PojoComponent pojoComponent)
           
 void setServiceName(String serviceName)
           
 
Methods inherited from class org.springframework.remoting.support.RemoteExporter
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, isRegisterTraceInterceptor, setBeanClassLoader, setRegisterTraceInterceptor, setService, setServiceInterface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelServiceExporter

public CamelServiceExporter()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception

getPojoComponent

public org.apache.camel.component.pojo.PojoComponent getPojoComponent()

setPojoComponent

public void setPojoComponent(org.apache.camel.component.pojo.PojoComponent pojoComponent)

getCamelContext

public org.apache.camel.CamelContext getCamelContext()

setCamelContext

public void setCamelContext(org.apache.camel.CamelContext camelContext)

getServiceName

public String getServiceName()

setServiceName

public void setServiceName(String serviceName)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.