org.apache.camel.spring.remoting
Class CamelProxyFactoryBean

java.lang.Object
  extended by org.springframework.remoting.support.RemoteAccessor
      extended by org.springframework.remoting.support.UrlBasedRemoteAccessor
          extended by org.apache.camel.spring.remoting.CamelProxyFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class CamelProxyFactoryBean
extends org.springframework.remoting.support.UrlBasedRemoteAccessor
implements org.springframework.beans.factory.FactoryBean

Creates a Proxy to Camel Pojo Endpoint.

Author:
chirino

Field Summary
 
Fields inherited from class org.springframework.remoting.support.RemoteAccessor
logger
 
Constructor Summary
CamelProxyFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 org.apache.camel.CamelContext getCamelContext()
           
 org.apache.camel.Endpoint getEndpoint()
           
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 void setCamelContext(org.apache.camel.CamelContext camelContext)
           
 void setEndpoint(org.apache.camel.Endpoint endpoint)
           
 
Methods inherited from class org.springframework.remoting.support.UrlBasedRemoteAccessor
getServiceUrl, setServiceUrl
 
Methods inherited from class org.springframework.remoting.support.RemoteAccessor
getServiceInterface, setServiceInterface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelProxyFactoryBean

public CamelProxyFactoryBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class org.springframework.remoting.support.UrlBasedRemoteAccessor

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

getEndpoint

public org.apache.camel.Endpoint getEndpoint()

setEndpoint

public void setEndpoint(org.apache.camel.Endpoint endpoint)

getCamelContext

public org.apache.camel.CamelContext getCamelContext()

setCamelContext

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


Copyright © 2007 Apache Software Foundation. All Rights Reserved.