org.mule.module.cxf.builder
Class WebServiceMessageProcessorBuilder
java.lang.Object
org.mule.module.cxf.builder.AbstractInboundMessageProcessorBuilder
org.mule.module.cxf.builder.WebServiceMessageProcessorBuilder
- All Implemented Interfaces:
- AnnotatedObject, FlowConstructAware, MuleContextAware, MessageProcessorBuilder
- Direct Known Subclasses:
- WebServiceFactoryBean
public class WebServiceMessageProcessorBuilder
- extends AbstractInboundMessageProcessorBuilder
- implements FlowConstructAware
Builds a CXF web service MessageProcessor using either the JAX-WS or
simple frontends. It must be configured in the following way:
- If the builder is part of a
Service
, then it will try to
detect the serviceClass from the component.
- If it is not part of a
Service
, then the serviceClass
attribute must be supplied.
- The builder will use the JAX-WS frontend by default.
Methods inherited from class org.mule.module.cxf.builder.AbstractInboundMessageProcessorBuilder |
addIgnoredMethods, build, configureMessageProcessor, configureServer, getAnnotation, getAnnotations, getBindingId, getConfiguration, getFeatures, getInFaultInterceptors, getInInterceptors, getMtomEnabled, getNamespace, getOutFaultInterceptors, getOutInterceptors, getPort, getProperties, getSchemaLocations, getServer, getService, getSoapVersion, getWsdlLocation, getWSDLQueryHandler, isEnableMuleSoapHeaders, isValidationEnabled, setAddProperties, setAnnotations, setBindingId, setConfiguration, setEnableMuleSoapHeaders, setFeatures, setInFaultInterceptors, setInInterceptors, setMtomEnabled, setMuleContext, setNamespace, setOutFaultInterceptors, setOutInterceptors, setPort, setProperties, setSchemaLocations, setService, setSoapVersion, setValidationEnabled, setWsdlLocation, setWsSecurity |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
WebServiceMessageProcessorBuilder
public WebServiceMessageProcessorBuilder()
createServerFactory
protected org.apache.cxf.frontend.ServerFactoryBean createServerFactory()
throws Exception
- Specified by:
createServerFactory
in class AbstractInboundMessageProcessorBuilder
- Throws:
Exception
createInvoker
protected org.apache.cxf.service.invoker.Invoker createInvoker(CxfInboundMessageProcessor processor)
- Overrides:
createInvoker
in class AbstractInboundMessageProcessorBuilder
getTargetClass
protected Class<?> getTargetClass(Service service)
throws MuleException,
ClassNotFoundException
- Try to determine the target class from the Service.
- Throws:
MuleException
ClassNotFoundException
getAddress
protected String getAddress()
- Overrides:
getAddress
in class AbstractInboundMessageProcessorBuilder
isProxy
public boolean isProxy()
- Specified by:
isProxy
in class AbstractInboundMessageProcessorBuilder
getServiceClass
public Class<?> getServiceClass()
- Specified by:
getServiceClass
in class AbstractInboundMessageProcessorBuilder
setServiceClass
public void setServiceClass(Class<?> serviceClass)
setFlowConstruct
public void setFlowConstruct(FlowConstruct flowConstruct)
- Specified by:
setFlowConstruct
in interface FlowConstructAware
getFrontend
public String getFrontend()
setFrontend
public void setFrontend(String frontend)
- Whether to use the simple frontend or JAX-WS frontend. Valid values
are "simple" or "jaxws".
- Parameters:
frontend
-
getDatabinding
public org.apache.cxf.databinding.DataBinding getDatabinding()
setDatabinding
public void setDatabinding(org.apache.cxf.databinding.DataBinding databinding)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.