org.apache.camel.component.cxf.cxfbean
Class CxfBeanEndpoint

java.lang.Object
  extended by org.apache.camel.impl.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.cxf.cxfbean.CxfBeanEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton, Service, ShutdownableService, HasId, HeaderFilterStrategyAware

public class CxfBeanEndpoint
extends ProcessorEndpoint
implements HeaderFilterStrategyAware

CXF Bean Endpoint is a ProcessorEndpoint which associated with a CxfBeanDestination. It delegates the processing of Camel Exchanges to the associated CxfBeanDestination.


Constructor Summary
CxfBeanEndpoint(String remaining, CxfBeanComponent component)
           
 
Method Summary
protected  String createEndpointUri()
          A factory method to lazily create the endpointUri if none is specified
protected  void doStart()
           
protected  void doStop()
           
 org.apache.cxf.Bus getBus()
           
 CxfMessageMapper getCxfBeanBinding()
           
 HeaderFilterStrategy getHeaderFilterStrategy()
          Gets the header filter strategy used
 List<Object> getProviders()
           
 void init()
           
 boolean isLoggingFeatureEnabled()
           
 boolean isPopulateFromClass()
           
 boolean isSetDefaultBus()
           
 void setBus(org.apache.cxf.Bus bus)
           
 void setCxfBeanBinding(CxfMessageMapper cxfBeanBinding)
           
 void setHeaderFilterStrategy(HeaderFilterStrategy headerFilterStrategy)
          Sets the header filter strategy to use
 void setLoggingFeatureEnabled(boolean loggingFeatureEnabled)
           
 void setPopulateFromClass(boolean populateFromClass)
           
 void setProviders(List<Object> providers)
           
 void setSetDefaultBus(boolean isSetDefaultBus)
           
 
Methods inherited from class org.apache.camel.impl.ProcessorEndpoint
createPollingConsumer, createProcessor, 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, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, 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

CxfBeanEndpoint

public CxfBeanEndpoint(String remaining,
                       CxfBeanComponent component)
Method Detail

doStart

protected void doStart()
                throws Exception
Overrides:
doStart in class DefaultEndpoint
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Overrides:
doStop in class DefaultEndpoint
Throws:
Exception

init

public void init()

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

getBus

public org.apache.cxf.Bus getBus()

setBus

public void setBus(org.apache.cxf.Bus bus)

setSetDefaultBus

public void setSetDefaultBus(boolean isSetDefaultBus)

isSetDefaultBus

public boolean isSetDefaultBus()

setCxfBeanBinding

public void setCxfBeanBinding(CxfMessageMapper cxfBeanBinding)

getCxfBeanBinding

public CxfMessageMapper getCxfBeanBinding()

setHeaderFilterStrategy

public void setHeaderFilterStrategy(HeaderFilterStrategy headerFilterStrategy)
Description copied from interface: HeaderFilterStrategyAware
Sets the header filter strategy to use

Specified by:
setHeaderFilterStrategy in interface HeaderFilterStrategyAware
Parameters:
headerFilterStrategy - the strategy

getHeaderFilterStrategy

public HeaderFilterStrategy getHeaderFilterStrategy()
Description copied from interface: HeaderFilterStrategyAware
Gets the header filter strategy used

Specified by:
getHeaderFilterStrategy in interface HeaderFilterStrategyAware
Returns:
the strategy

setLoggingFeatureEnabled

public void setLoggingFeatureEnabled(boolean loggingFeatureEnabled)

isLoggingFeatureEnabled

public boolean isLoggingFeatureEnabled()

setPopulateFromClass

public void setPopulateFromClass(boolean populateFromClass)

isPopulateFromClass

public boolean isPopulateFromClass()

getProviders

public List<Object> getProviders()

setProviders

public void setProviders(List<Object> providers)


Apache CAMEL