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:
- org.mule.api.AnnotatedObject, org.mule.api.construct.FlowConstructAware, org.mule.api.context.MuleContextAware, org.mule.api.processor.MessageProcessorBuilder
- Direct Known Subclasses:
- WebServiceFactoryBean
public class WebServiceMessageProcessorBuilder
- extends AbstractInboundMessageProcessorBuilder
- implements org.mule.api.construct.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.
|
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
| Fields inherited from interface org.mule.api.AnnotatedObject |
PROPERTY_NAME |
| 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, 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 org.apache.commons.logging.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(org.mule.api.service.Service service)
throws org.mule.api.MuleException,
ClassNotFoundException
- Try to determine the target class from the Service.
- Throws:
org.mule.api.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(org.mule.api.construct.FlowConstruct flowConstruct)
- Specified by:
setFlowConstruct in interface org.mule.api.construct.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–2017 MuleSoft, Inc.. All rights reserved.