org.apache.camel.core.xml
Class AbstractCamelFactoryBean<T>

java.lang.Object
  extended by org.apache.camel.model.IdentifiedType
      extended by org.apache.camel.core.xml.AbstractCamelFactoryBean<T>
All Implemented Interfaces:
org.apache.camel.CamelContextAware
Direct Known Subclasses:
AbstractCamelConsumerTemplateFactoryBean, AbstractCamelEndpointFactoryBean, AbstractCamelProducerTemplateFactoryBean, AbstractCamelRedeliveryPolicyFactoryBean, AbstractCamelThreadPoolFactoryBean, AbstractJsseUtilFactoryBean

public abstract class AbstractCamelFactoryBean<T>
extends org.apache.camel.model.IdentifiedType
implements org.apache.camel.CamelContextAware


Constructor Summary
AbstractCamelFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 org.apache.camel.CamelContext getCamelContext()
           
 String getCamelContextId()
           
protected abstract  org.apache.camel.CamelContext getCamelContextWithId(String camelContextId)
           
abstract  T getObject()
           
abstract  Class<? extends T> getObjectType()
           
 boolean isSingleton()
           
 void setCamelContext(org.apache.camel.CamelContext camelContext)
           
 void setCamelContextId(String camelContextId)
           
 
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

AbstractCamelFactoryBean

public AbstractCamelFactoryBean()
Method Detail

getObject

public abstract T getObject()
                     throws Exception
Throws:
Exception

getCamelContextWithId

protected abstract org.apache.camel.CamelContext getCamelContextWithId(String camelContextId)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Throws:
Exception

destroy

public void destroy()
             throws Exception
Throws:
Exception

getCamelContext

public org.apache.camel.CamelContext getCamelContext()
Specified by:
getCamelContext in interface org.apache.camel.CamelContextAware

setCamelContext

public void setCamelContext(org.apache.camel.CamelContext camelContext)
Specified by:
setCamelContext in interface org.apache.camel.CamelContextAware

getCamelContextId

public String getCamelContextId()

setCamelContextId

public void setCamelContextId(String camelContextId)

isSingleton

public boolean isSingleton()

getObjectType

public abstract Class<? extends T> getObjectType()


Apache CAMEL