org.apache.camel.core.xml
Class AbstractCamelConsumerTemplateFactoryBean

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

public abstract class AbstractCamelConsumerTemplateFactoryBean
extends IdentifiedType
implements CamelContextAware

A factory for creating a new ConsumerTemplate instance with a minimum of XML

Version:
$Revision: 934375 $

Constructor Summary
AbstractCamelConsumerTemplateFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 CamelContext getCamelContext()
           
 String getCamelContextId()
           
protected abstract  CamelContext getCamelContextWithId(String camelContextId)
           
 Integer getMaximumCacheSize()
           
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 void setCamelContext(CamelContext camelContext)
           
 void setCamelContextId(String camelContextId)
           
 void setMaximumCacheSize(Integer maximumCacheSize)
           
 
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

AbstractCamelConsumerTemplateFactoryBean

public AbstractCamelConsumerTemplateFactoryBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Throws:
Exception

getCamelContextWithId

protected abstract CamelContext getCamelContextWithId(String camelContextId)

getObject

public Object getObject()
                 throws Exception
Throws:
Exception

getObjectType

public Class getObjectType()

isSingleton

public boolean isSingleton()

destroy

public void destroy()
             throws Exception
Throws:
Exception

getCamelContext

public CamelContext getCamelContext()
Specified by:
getCamelContext in interface CamelContextAware

setCamelContext

public void setCamelContext(CamelContext camelContext)
Specified by:
setCamelContext in interface CamelContextAware

getCamelContextId

public String getCamelContextId()

setCamelContextId

public void setCamelContextId(String camelContextId)

getMaximumCacheSize

public Integer getMaximumCacheSize()

setMaximumCacheSize

public void setMaximumCacheSize(Integer maximumCacheSize)


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.