Class CxfRsSpringEndpoint

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.CamelContextAware, org.apache.camel.component.cxf.jaxrs.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 org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint
    implements org.apache.camel.component.cxf.jaxrs.BeanIdAware
    • Field Summary

      • Fields inherited from class org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint

        bus
      • Fields inherited from class org.apache.camel.support.service.BaseService

        BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
    • Constructor Summary

      Constructors 
      Constructor Description
      CxfRsSpringEndpoint​(org.apache.camel.Component component, String uri, org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean bean)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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)  
      • Methods inherited from class org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint

        addResourceClass, checkBeanType, createConsumer, createJAXRSClientFactoryBean, createJAXRSClientFactoryBean, createJAXRSServerFactoryBean, createProducer, doInit, doStop, getAddress, getBinding, getBindingStyle, getBus, getChainedCxfRsEndpointConfigurer, getContinuationTimeout, getCookieHandler, getCxfRsConfigurer, getFeatures, getHeaderFilterStrategy, getHostnameVerifier, getInFaultInterceptors, getInInterceptors, getLoggingSizeLimit, getMaxClientCacheSize, getModelRef, getNullSafeCxfRsEndpointConfigurer, getOutFaultInterceptors, getOutInterceptors, getParameters, getProperties, getProviders, getPublishedEndpointUrl, getResourceClasses, getSchemaLocations, getServiceBeans, getSslContextParameters, isDefaultBus, isHttpClientAPI, isIgnoreDeleteMethodMessageBody, isLenientProperties, isLoggingFeatureEnabled, isPerformInvocation, isPropagateContexts, isSkipFaultLogging, isSynchronous, isThrowExceptionOnFailure, resolvePropertyPlaceholders, setAddress, setBinding, setBindingStyle, setBus, setContinuationTimeout, setCookieHandler, setCxfRsConfigurer, setDefaultBus, setFeatures, setHeaderFilterStrategy, setHostnameVerifier, setHttpClientAPI, setIgnoreDeleteMethodMessageBody, setInFaultInterceptors, setInInterceptors, setLoggingFeatureEnabled, setLoggingSizeLimit, setMaxClientCacheSize, setModelRef, setOutFaultInterceptors, setOutInterceptors, setParameters, setPerformInvocation, setPropagateContexts, setProperties, setProvider, setProviders, setProviders, setPublishedEndpointUrl, setResourceClasses, setResourceClasses, setSchemaLocation, setSchemaLocations, setServiceBean, setServiceBeans, setServiceBeans, setSkipFaultLogging, setSslContextParameters, setSynchronous, setThrowExceptionOnFailure, setupCommonFactoryProperties, setupJAXRSServerFactoryBean, updateEndpointUri
      • Methods inherited from class org.apache.camel.support.DefaultEndpoint

        configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doStart, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toString
      • Methods inherited from class org.apache.camel.support.service.BaseService

        build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
      • Methods inherited from interface org.apache.camel.Endpoint

        getEndpointBaseUri, isSingletonProducer
      • Methods inherited from interface org.apache.camel.Service

        build, close, init, start, stop
      • Methods inherited from interface org.apache.camel.ShutdownableService

        shutdown
      • Methods inherited from interface org.apache.camel.StatefulService

        getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
      • Methods inherited from interface org.apache.camel.SuspendableService

        isSuspended, resume, suspend
    • Constructor Detail

      • CxfRsSpringEndpoint

        public CxfRsSpringEndpoint​(org.apache.camel.Component component,
                                   String uri,
                                   org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean bean)
    • Method Detail

      • newJAXRSServerFactoryBean

        protected org.apache.cxf.jaxrs.JAXRSServerFactoryBean newJAXRSServerFactoryBean()
        Overrides:
        newJAXRSServerFactoryBean in class org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint
      • newJAXRSClientFactoryBean

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

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

        public String getBeanId()
        Specified by:
        getBeanId in interface org.apache.camel.component.cxf.jaxrs.BeanIdAware
        Overrides:
        getBeanId in class org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint
      • setBeanId

        public void setBeanId​(String id)
        Specified by:
        setBeanId in interface org.apache.camel.component.cxf.jaxrs.BeanIdAware
        Overrides:
        setBeanId in class org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint