org.apache.camel.spring.remoting
Class CamelProxyFactoryBean
java.lang.Object
org.springframework.remoting.support.RemotingSupport
org.springframework.remoting.support.RemoteAccessor
org.springframework.remoting.support.UrlBasedRemoteAccessor
org.apache.camel.spring.remoting.CamelProxyFactoryBean
- All Implemented Interfaces:
- CamelContextAware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.DisposableBean, 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, CamelContextAware, org.springframework.beans.factory.DisposableBean
A FactoryBean
to create a Proxy to a a Camel Pojo Endpoint.
- Author:
- chirino
Fields inherited from class org.springframework.remoting.support.RemotingSupport |
logger |
Methods inherited from class org.springframework.remoting.support.UrlBasedRemoteAccessor |
setServiceUrl |
Methods inherited from class org.springframework.remoting.support.RemoteAccessor |
setServiceInterface |
Methods inherited from class org.springframework.remoting.support.RemotingSupport |
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelProxyFactoryBean
public CamelProxyFactoryBean()
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in class org.springframework.remoting.support.UrlBasedRemoteAccessor
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Throws:
Exception
getServiceInterface
public Class getServiceInterface()
- Overrides:
getServiceInterface
in class org.springframework.remoting.support.RemoteAccessor
getServiceUrl
public String getServiceUrl()
- Overrides:
getServiceUrl
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 Endpoint getEndpoint()
setEndpoint
public void setEndpoint(Endpoint endpoint)
getCamelContext
public CamelContext getCamelContext()
setCamelContext
public void setCamelContext(CamelContext camelContext)
- Specified by:
setCamelContext
in interface CamelContextAware
Copyright © 2009 Apache Software Foundation. All Rights Reserved.