org.apache.camel.component.bean
Class BeanEndpoint
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.impl.ScheduledPollEndpoint
org.apache.camel.impl.DefaultPollingEndpoint
org.apache.camel.impl.ProcessorEndpoint
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:
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 |
BeanEndpoint
public BeanEndpoint()
BeanEndpoint
public BeanEndpoint(String endpointUri,
Component component,
BeanProcessor processor)
BeanEndpoint
public BeanEndpoint(String endpointUri,
Component component)
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