org.apache.camel.core.xml
Class AbstractCamelEndpointFactoryBean
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean
- All Implemented Interfaces:
- CamelContextAware
public abstract class AbstractCamelEndpointFactoryBean
- extends IdentifiedType
- implements CamelContextAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCamelEndpointFactoryBean
public AbstractCamelEndpointFactoryBean()
getObject
public Object getObject()
throws Exception
- Throws:
Exception
getCamelContextWithId
protected abstract CamelContext getCamelContextWithId(String camelContextId)
getObjectType
public Class getObjectType()
isSingleton
public boolean isSingleton()
setSingleton
public void setSingleton(boolean singleton)
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
getCamelContextId
public String getCamelContextId()
setCamelContextId
public void setCamelContextId(String camelContextId)
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.