org.apache.camel.core.xml
Class AbstractCamelFactoryBean<T>
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.core.xml.AbstractCamelFactoryBean<T>
- All Implemented Interfaces:
- CamelContextAware
- Direct Known Subclasses:
- AbstractCamelConsumerTemplateFactoryBean, AbstractCamelEndpointFactoryBean, AbstractCamelProducerTemplateFactoryBean, AbstractCamelRedeliveryPolicyFactoryBean, AbstractCamelThreadPoolFactoryBean, CamelErrorHandlerFactoryBean, CamelProxyFactoryBean
public abstract class AbstractCamelFactoryBean<T>
- extends IdentifiedType
- implements CamelContextAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCamelFactoryBean
public AbstractCamelFactoryBean()
getObject
public abstract T getObject()
throws Exception
- Throws:
Exception
getCamelContextWithId
protected abstract CamelContext getCamelContextWithId(String camelContextId)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Throws:
Exception
destroy
public void destroy()
throws Exception
- Throws:
Exception
getCamelContext
public CamelContext getCamelContext()
- Description copied from interface:
CamelContextAware
- Get the
CamelContext
- Specified by:
getCamelContext in interface CamelContextAware
- Returns:
- camelContext the Camel context
setCamelContext
public void setCamelContext(CamelContext camelContext)
- Description copied from interface:
CamelContextAware
- Injects the
CamelContext
- Specified by:
setCamelContext in interface CamelContextAware
- Parameters:
camelContext - the Camel context
getCamelContextId
public String getCamelContextId()
setCamelContextId
public void setCamelContextId(String camelContextId)
isSingleton
public boolean isSingleton()
getObjectType
public abstract Class<? extends T> getObjectType()
Apache CAMEL