org.apache.camel.component.bean
Class BeanEndpoint

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by org.apache.camel.impl.ScheduledPollEndpoint
              extended by org.apache.camel.impl.DefaultPollingEndpoint
                  extended by org.apache.camel.impl.ProcessorEndpoint
                      extended by org.apache.camel.component.bean.BeanEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton, Service, ShutdownableService, HasId, StatefulService, SuspendableService

public class BeanEndpoint
extends ProcessorEndpoint

Endpoint for the bean component.

Version:

Field Summary
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
BeanEndpoint()
           
BeanEndpoint(String endpointUri, Component component)
           
BeanEndpoint(String endpointUri, Component component, BeanProcessor processor)
           
 
Method Summary
protected  String createEndpointUri()
          A factory method to lazily create the endpointUri if none is specified
protected  Processor createProcessor()
           
 BeanHolder getBeanHolder()
           
 String getBeanName()
           
 String getMethod()
           
 boolean isCache()
           
 boolean isMultiParameterArray()
           
 void setBeanHolder(BeanHolder beanHolder)
           
 void setBeanName(String beanName)
           
 void setCache(boolean cache)
           
 void setMethod(String method)
           
 void setMultiParameterArray(boolean mpArray)
           
 
Methods inherited from class org.apache.camel.impl.ProcessorEndpoint
createPollingConsumer, createProducer, getProcessor, isSingleton, onExchange, setProcessor
 
Methods inherited from class org.apache.camel.impl.DefaultPollingEndpoint
createConsumer
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configureProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureConsumer, createEndpointConfiguration, createExchange, createExchange, createExchange, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

BeanEndpoint

public BeanEndpoint()

BeanEndpoint

public BeanEndpoint(String endpointUri,
                    Component component,
                    BeanProcessor processor)

BeanEndpoint

public BeanEndpoint(String endpointUri,
                    Component component)
Method Detail

getBeanName

public String getBeanName()

setBeanName

public void setBeanName(String beanName)

isMultiParameterArray

public boolean isMultiParameterArray()

setMultiParameterArray

public void setMultiParameterArray(boolean mpArray)

isCache

public boolean isCache()

setCache

public void setCache(boolean cache)

getMethod

public String getMethod()

setMethod

public void setMethod(String method)

getBeanHolder

public BeanHolder getBeanHolder()

setBeanHolder

public void setBeanHolder(BeanHolder beanHolder)

createEndpointUri

protected String createEndpointUri()
Description copied from class: DefaultEndpoint
A factory method to lazily create the endpointUri if none is specified

Overrides:
createEndpointUri in class DefaultEndpoint

createProcessor

protected Processor createProcessor()
                             throws Exception
Overrides:
createProcessor in class ProcessorEndpoint
Throws:
Exception


Apache CAMEL