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:
- 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
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 |
AbstractCamelFactoryBean
public AbstractCamelFactoryBean()
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