Class CxfSpringEndpoint
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultEndpoint
org.apache.camel.component.cxf.jaxws.CxfEndpoint
org.apache.camel.component.cxf.spring.jaxws.CxfSpringEndpoint
- All Implemented Interfaces:
AutoCloseable,Cloneable,org.apache.camel.AsyncEndpoint,org.apache.camel.CamelContextAware,org.apache.camel.ComponentAware,org.apache.camel.Endpoint,org.apache.camel.IsSingleton,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.HasCamelContext,org.apache.camel.spi.HasId,org.apache.camel.spi.HeaderFilterStrategyAware,org.apache.camel.StatefulService,org.apache.camel.SuspendableService,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class CxfSpringEndpoint
extends org.apache.camel.component.cxf.jaxws.CxfEndpoint
implements org.springframework.context.ApplicationContextAware
Defines the CXF Endpoint
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.camel.component.cxf.jaxws.CxfEndpoint
org.apache.camel.component.cxf.jaxws.CxfEndpoint.CamelCxfClientImpl -
Field Summary
Fields inherited from class org.apache.camel.component.cxf.jaxws.CxfEndpoint
bus, createBus, defaultBus, getBusHasBeenCalledFields 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
ConstructorsConstructorDescriptionCxfSpringEndpoint(org.apache.camel.component.cxf.jaxws.CxfComponent component, String address) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.cxf.endpoint.ClientCreate a CXF Clientprotected org.apache.cxf.frontend.ServerFactoryBeanCreate a service factory beanorg.springframework.context.ApplicationContextorg.apache.cxf.BusgetBus()voidsetApplicationContext(org.springframework.context.ApplicationContext ctx) voidvoidsetEndpointLocalName(String endpointLocalName) voidsetEndpointNamespace(String endpointNamespace) voidsetServiceLocalName(String serviceLocalName) voidsetServiceNamespace(String serviceNamespace) Methods inherited from class org.apache.camel.component.cxf.jaxws.CxfEndpoint
checkName, copy, createClientFactoryBean, createClientFactoryBean, createConsumer, createProducer, doInit, doStop, getAddress, getAllowStreaming, getBindingConfig, getBindingId, getChainedCxfConfigurer, getContinuationTimeout, getCookieHandler, getCxfBinding, getCxfConfigurer, getDataBinding, getDataFormat, getDefaultOperationName, getDefaultOperationNamespace, getFeatures, getHandlers, getHeaderFilterStrategy, getHostnameVerifier, getInFaultInterceptors, getInInterceptors, getLoggingSizeLimit, getOutFaultInterceptors, getOutInterceptors, getPassword, getPortName, getPortNameAsQName, getProperties, getPublishedEndpointUrl, getSchemaLocations, getSchemaValidationEnabled, getServiceClass, getServiceFactoryBean, getServiceName, getServiceNameAsQName, getSslContextParameters, getTransportId, getUsername, getWrappedStyle, getWsdlURL, isDefaultBus, isLoggingFeatureEnabled, isMergeProtocolHeaders, isMtomEnabled, isSkipFaultLogging, isSkipPayloadMessagePartCheck, isSynchronous, isWrapped, resolvePropertyPlaceholders, setAddress, setAllowStreaming, setBindingConfig, setBindingId, setBus, setCamelContext, setContinuationTimeout, setCookieHandler, setCxfBinding, setCxfConfigurer, setDataBinding, setDataFormat, setDefaultBus, setDefaultOperationName, setDefaultOperationNamespace, setEndpointName, setEndpointNameAsQName, setFeatures, setHandlers, setHeaderFilterStrategy, setHostnameVerifier, setInFaultInterceptors, setInInterceptors, setLoggingFeatureEnabled, setLoggingSizeLimit, setMergeProtocolHeaders, setMtomEnabled, setOutFaultInterceptors, setOutInterceptors, setPassword, setPortName, setPortNameAsQName, setProperties, setPublishedEndpointUrl, setSchemaLocations, setSchemaValidationEnabled, setServiceClass, setServiceClass, setServiceClass, setServiceFactory, setServiceFactoryBean, setServiceName, setServiceNameAsQName, setSkipFaultLogging, setSkipPayloadMessagePartCheck, setSslContextParameters, setSynchronous, setTransportId, setupClientFactoryBean, setupHandlers, setupServerFactoryBean, setUsername, setWrapped, setWrappedStyle, setWsdlURL, updateEndpointUriMethods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringMethods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doStart, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.ComponentAware
getComponent, getComponent, setComponentMethods inherited from interface org.apache.camel.Endpoint
configureExchange, configureProperties, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducerMethods inherited from interface org.apache.camel.IsSingleton
isSingletonMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
CxfSpringEndpoint
public CxfSpringEndpoint(org.apache.camel.component.cxf.jaxws.CxfComponent component, String address) -
CxfSpringEndpoint
public CxfSpringEndpoint()
-
-
Method Details
-
createClient
Create a CXF Client- Overrides:
createClientin classorg.apache.camel.component.cxf.jaxws.CxfEndpoint- Throws:
Exception
-
createServerFactoryBean
Create a service factory bean- Overrides:
createServerFactoryBeanin classorg.apache.camel.component.cxf.jaxws.CxfEndpoint- Throws:
Exception
-
getBeanId
- Overrides:
getBeanIdin classorg.apache.camel.component.cxf.jaxws.CxfEndpoint
-
setBeanId
- Overrides:
setBeanIdin classorg.apache.camel.component.cxf.jaxws.CxfEndpoint
-
setServiceNamespace
-
getServiceNamespace
-
setServiceLocalName
-
getServiceLocalName
-
getEndpointLocalName
-
setEndpointLocalName
-
setEndpointNamespace
-
getEndpointNamespace
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
getBus
public org.apache.cxf.Bus getBus()- Overrides:
getBusin classorg.apache.camel.component.cxf.jaxws.CxfEndpoint
-