org.apache.camel.component.cxf.jaxrs
Class CxfRsSpringEndpoint

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint
              extended by org.apache.camel.component.cxf.jaxrs.CxfRsSpringEndpoint
All Implemented Interfaces:
org.apache.camel.CamelContextAware, BeanIdAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId, org.apache.camel.spi.HeaderFilterStrategyAware, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

public class CxfRsSpringEndpoint
extends CxfRsEndpoint
implements BeanIdAware


Field Summary
 
Fields inherited from class org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint
bus
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
CxfRsSpringEndpoint(org.apache.camel.Component component, org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean bean)
          Deprecated. 
CxfRsSpringEndpoint(org.apache.camel.Component component, String uri, org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean bean)
           
 
Method Summary
 String getBeanId()
           
protected  org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean newJAXRSClientFactoryBean()
           
protected  org.apache.cxf.jaxrs.JAXRSServerFactoryBean newJAXRSServerFactoryBean()
           
 void setBeanId(String id)
           
protected  void setupJAXRSClientFactoryBean(org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean cfb, String address)
           
protected  void setupJAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServerFactoryBean sfb)
           
 
Methods inherited from class org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint
addResourceClass, checkBeanType, createConsumer, createJAXRSClientFactoryBean, createJAXRSClientFactoryBean, createJAXRSServerFactoryBean, createProducer, doStart, doStop, getAddress, getBinding, getBus, getHeaderFilterStrategy, getLoggingSizeLimit, getMaxClientCacheSize, getParameters, getResourceClasses, isHttpClientAPI, isLenientProperties, isLoggingFeatureEnabled, isSetDefaultBus, isSingleton, isThrowExceptionOnFailure, resolvePropertyPlaceholders, setAddress, setBinding, setBus, setHeaderFilterStrategy, setHttpClientAPI, setLoggingFeatureEnabled, setLoggingSizeLimit, setMaxClientCacheSize, setParameters, setResourceClasses, setResourceClasses, setSetDefaultBus, setThrowExceptionOnFailure, updateEndpointUri
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, 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

CxfRsSpringEndpoint

@Deprecated
public CxfRsSpringEndpoint(org.apache.camel.Component component,
                                      org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean bean)
                    throws Exception
Deprecated. 

Throws:
Exception

CxfRsSpringEndpoint

public CxfRsSpringEndpoint(org.apache.camel.Component component,
                           String uri,
                           org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean bean)
                    throws Exception
Throws:
Exception
Method Detail

setupJAXRSServerFactoryBean

protected void setupJAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServerFactoryBean sfb)
Overrides:
setupJAXRSServerFactoryBean in class CxfRsEndpoint

setupJAXRSClientFactoryBean

protected void setupJAXRSClientFactoryBean(org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean cfb,
                                           String address)
Overrides:
setupJAXRSClientFactoryBean in class CxfRsEndpoint

newJAXRSServerFactoryBean

protected org.apache.cxf.jaxrs.JAXRSServerFactoryBean newJAXRSServerFactoryBean()
Overrides:
newJAXRSServerFactoryBean in class CxfRsEndpoint

newJAXRSClientFactoryBean

protected org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean newJAXRSClientFactoryBean()
Overrides:
newJAXRSClientFactoryBean in class CxfRsEndpoint

getBeanId

public String getBeanId()
Specified by:
getBeanId in interface BeanIdAware

setBeanId

public void setBeanId(String id)
Specified by:
setBeanId in interface BeanIdAware


Apache CAMEL