org.apache.camel.component.bean
Class BeanEndpoint

java.lang.Object
  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

public class BeanEndpoint
extends ProcessorEndpoint

Endpoint for the bean component.

Version:
$Revision: 919 $

Constructor Summary
BeanEndpoint()
           
BeanEndpoint(String endpointUri)
           
BeanEndpoint(String endpointUri, BeanProcessor processor)
           
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
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
createExchange, createExchange, createExchange, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanEndpoint

public BeanEndpoint()

BeanEndpoint

public BeanEndpoint(String endpointUri)

BeanEndpoint

public BeanEndpoint(String endpointUri,
                    BeanProcessor processor)

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


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.