org.mule.module.cxf.builder
Class AbstractInboundMessageProcessorBuilder
java.lang.Object
org.mule.module.cxf.builder.AbstractInboundMessageProcessorBuilder
- All Implemented Interfaces:
- MuleContextAware, MessageProcessorBuilder
- Direct Known Subclasses:
- ProxyServiceMessageProcessorBuilder, WebServiceMessageProcessorBuilder
public abstract class AbstractInboundMessageProcessorBuilder
- extends Object
- implements MuleContextAware, MessageProcessorBuilder
An abstract builder for CXF services. It handles all common operations such
as interceptor configuration, mule header enabling, etc. Subclasses can extend
this and control how the Server is created and how the CxfInboundMessageProcessor
is configured.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
muleContext
protected MuleContext muleContext
AbstractInboundMessageProcessorBuilder
public AbstractInboundMessageProcessorBuilder()
build
public CxfInboundMessageProcessor build()
throws MuleException
- Specified by:
build
in interface MessageProcessorBuilder
- Throws:
MuleException
createInvoker
protected org.apache.cxf.service.invoker.Invoker createInvoker(CxfInboundMessageProcessor processor)
configureServer
protected void configureServer(org.apache.cxf.endpoint.Server server2)
getServiceClass
protected abstract Class<?> getServiceClass()
configureMessageProcessor
protected void configureMessageProcessor(org.apache.cxf.frontend.ServerFactoryBean sfb,
CxfInboundMessageProcessor processor)
createServerFactory
protected abstract org.apache.cxf.frontend.ServerFactoryBean createServerFactory()
throws Exception
- Throws:
Exception
getAddress
protected String getAddress()
addIgnoredMethods
public void addIgnoredMethods(org.apache.cxf.service.factory.ReflectionServiceFactoryBean svcFac,
String className)
getServer
public org.apache.cxf.endpoint.Server getServer()
isProxy
public abstract boolean isProxy()
getConfiguration
public CxfConfiguration getConfiguration()
setConfiguration
public void setConfiguration(CxfConfiguration configuration)
isEnableMuleSoapHeaders
public boolean isEnableMuleSoapHeaders()
setEnableMuleSoapHeaders
public void setEnableMuleSoapHeaders(boolean enableMuleSoapHeaders)
getWsdlLocation
public String getWsdlLocation()
setWsdlLocation
public void setWsdlLocation(String wsdlUrl)
getBindingId
public String getBindingId()
setBindingId
public void setBindingId(String bindingId)
setSoapVersion
public void setSoapVersion(String soapVersion)
getSoapVersion
public String getSoapVersion()
getMtomEnabled
public String getMtomEnabled()
setMtomEnabled
public void setMtomEnabled(String mtomEnabled)
getService
public String getService()
setService
public void setService(String name)
getNamespace
public String getNamespace()
setNamespace
public void setNamespace(String namespace)
getFeatures
public List<org.apache.cxf.feature.AbstractFeature> getFeatures()
setFeatures
public void setFeatures(List<org.apache.cxf.feature.AbstractFeature> features)
getInInterceptors
public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInInterceptors()
setInInterceptors
public void setInInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> inInterceptors)
getInFaultInterceptors
public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInFaultInterceptors()
setInFaultInterceptors
public void setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> inFaultInterceptors)
getOutInterceptors
public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutInterceptors()
setOutInterceptors
public void setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> outInterceptors)
getOutFaultInterceptors
public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutFaultInterceptors()
setOutFaultInterceptors
public void setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> outFaultInterceptors)
setMuleContext
public void setMuleContext(MuleContext muleContext)
- Specified by:
setMuleContext
in interface MuleContextAware
getPort
public String getPort()
setPort
public void setPort(String endpoint)
getProperties
public Map<String,Object> getProperties()
setProperties
public void setProperties(Map<String,Object> properties)
isValidationEnabled
public boolean isValidationEnabled()
setValidationEnabled
public void setValidationEnabled(boolean validationEnabled)
getSchemaLocations
public List<String> getSchemaLocations()
setSchemaLocations
public void setSchemaLocations(List<String> schemaLocations)
getOnException
public String getOnException()
setOnException
public void setOnException(String onException)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.