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 java.lang.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 java.lang.Class<?> getServiceClass()
configureMessageProcessor
protected void configureMessageProcessor(org.apache.cxf.frontend.ServerFactoryBean sfb,
CxfInboundMessageProcessor processor)
createServerFactory
protected abstract org.apache.cxf.frontend.ServerFactoryBean createServerFactory()
throws java.lang.Exception
- Throws:
java.lang.Exception
getAddress
protected java.lang.String getAddress()
addIgnoredMethods
public void addIgnoredMethods(org.apache.cxf.service.factory.ReflectionServiceFactoryBean svcFac,
java.lang.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 java.lang.String getWsdlLocation()
setWsdlLocation
public void setWsdlLocation(java.lang.String wsdlUrl)
getBindingId
public java.lang.String getBindingId()
setBindingId
public void setBindingId(java.lang.String bindingId)
getMtomEnabled
public java.lang.String getMtomEnabled()
setMtomEnabled
public void setMtomEnabled(java.lang.String mtomEnabled)
getService
public java.lang.String getService()
setService
public void setService(java.lang.String name)
getNamespace
public java.lang.String getNamespace()
setNamespace
public void setNamespace(java.lang.String namespace)
getFeatures
public java.util.List<org.apache.cxf.feature.AbstractFeature> getFeatures()
setFeatures
public void setFeatures(java.util.List<org.apache.cxf.feature.AbstractFeature> features)
getInInterceptors
public java.util.List<org.apache.cxf.interceptor.Interceptor> getInInterceptors()
setInInterceptors
public void setInInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor> inInterceptors)
getInFaultInterceptors
public java.util.List<org.apache.cxf.interceptor.Interceptor> getInFaultInterceptors()
setInFaultInterceptors
public void setInFaultInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor> inFaultInterceptors)
getOutInterceptors
public java.util.List<org.apache.cxf.interceptor.Interceptor> getOutInterceptors()
setOutInterceptors
public void setOutInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor> outInterceptors)
getOutFaultInterceptors
public java.util.List<org.apache.cxf.interceptor.Interceptor> getOutFaultInterceptors()
setOutFaultInterceptors
public void setOutFaultInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor> outFaultInterceptors)
setMuleContext
public void setMuleContext(MuleContext muleContext)
- Specified by:
setMuleContext
in interface MuleContextAware
getPort
public java.lang.String getPort()
setPort
public void setPort(java.lang.String endpoint)
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
setProperties
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.