public class CxfConfiguration extends Object implements Initialisable, Disposable, MuleContextAware
Modifier and Type | Field and Description |
---|---|
static String |
BUS_PROPERTY |
static String |
CONFIGURATION_LOCATION |
static String |
CXF |
static String |
DEFAULT_MULE_NAMESPACE_URI |
protected Log |
logger |
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
CxfConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
static CxfConfiguration |
getConfiguration(MuleContext muleContext) |
String |
getConfigurationLocation() |
org.apache.cxf.Bus |
getCxfBus() |
MuleContext |
getMuleContext() |
void |
initialise()
Method used to perform any initialisation work.
|
boolean |
isEnableMuleSoapHeaders() |
boolean |
isInitializeStaticBusInstance() |
void |
setConfigurationLocation(String configurationLocation) |
void |
setCxfBus(org.apache.cxf.Bus bus) |
void |
setEnableMuleSoapHeaders(boolean enableMuleSoapHeaders) |
void |
setInitializeStaticBusInstance(boolean initializeStaticBusInstance) |
void |
setMuleContext(MuleContext context) |
public static final String CXF
public static final String CONFIGURATION_LOCATION
public static final String DEFAULT_MULE_NAMESPACE_URI
public static final String BUS_PROPERTY
protected transient Log logger
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic void dispose()
Disposable
dispose
in interface Disposable
public org.apache.cxf.Bus getCxfBus()
public void setCxfBus(org.apache.cxf.Bus bus)
public String getConfigurationLocation()
public void setConfigurationLocation(String configurationLocation)
public boolean isInitializeStaticBusInstance()
public void setInitializeStaticBusInstance(boolean initializeStaticBusInstance)
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public MuleContext getMuleContext()
public static CxfConfiguration getConfiguration(MuleContext muleContext) throws MuleException
MuleException
public boolean isEnableMuleSoapHeaders()
public void setEnableMuleSoapHeaders(boolean enableMuleSoapHeaders)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.