org.apache.camel.core.xml
Class AbstractCamelEndpointFactoryBean

java.lang.Object
  extended by org.apache.camel.model.IdentifiedType
      extended by org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean
All Implemented Interfaces:
CamelContextAware

public abstract class AbstractCamelEndpointFactoryBean
extends IdentifiedType
implements CamelContextAware


Constructor Summary
AbstractCamelEndpointFactoryBean()
           
 
Method Summary
 CamelContext getCamelContext()
           
 String getCamelContextId()
           
protected abstract  CamelContext getCamelContextWithId(String camelContextId)
           
 Object getObject()
           
 Class getObjectType()
           
 String getUri()
           
 boolean isSingleton()
           
 void setCamelContext(CamelContext context)
          Sets the context to use to resolve endpoints
 void setCamelContextId(String camelContextId)
           
 void setSingleton(boolean singleton)
           
 void setUri(String uri)
          Sets the URI to use to resolve the endpoint
 
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCamelEndpointFactoryBean

public AbstractCamelEndpointFactoryBean()
Method Detail

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.