org.apache.camel.spring
Class CamelEndpointFactoryBean
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.spring.CamelEndpointFactoryBean
- All Implemented Interfaces:
- CamelContextAware, FactoryBean
public class CamelEndpointFactoryBean
- extends IdentifiedType
- implements FactoryBean, CamelContextAware
A FactoryBean
which instantiates Endpoint
objects
- Version:
- $Revision: 817970 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelEndpointFactoryBean
public CamelEndpointFactoryBean()
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean
getCamelContext
public CamelContext getCamelContext()
- Specified by:
getCamelContext
in interface CamelContextAware
setCamelContext
public void setCamelContext(CamelContext context)
- Sets the context to use to resolve endpoints
- Specified by:
setCamelContext
in interface CamelContextAware
- Parameters:
context
- the context used to resolve endpoints
getUri
public String getUri()
setUri
public void setUri(String uri)
- Sets the URI to use to resolve the endpoint
- Parameters:
uri
- the URI used to set the endpoint
createEndpoint
protected Endpoint createEndpoint()
Copyright © 2007-2009 The Apache Software Foundation. All Rights Reserved.