public interface MuleContextFactory
CopyOfMuleContextFactory is used to create instances of
MuleContext. The instances of MuleContext returned by this factory
are initialised but not started.| Modifier and Type | Method and Description |
|---|---|
MuleContext |
createMuleContext()
Returns an existing instance of
MuleContext is one exists, otherwise a
new MuleContext instance is created with defaults. |
MuleContext |
createMuleContext(ConfigurationBuilder configurationBuilder)
Creates a new MuleContext using the given configurationBuilder
|
MuleContext |
createMuleContext(ConfigurationBuilder configurationBuilder,
MuleContextBuilder muleContextBuilder)
Creates a new MuleContext using the
MuleContextBuilder provided and
configures it with the list of configuration builder and c onfigures it with
configurationBuilder |
MuleContext |
createMuleContext(List configurationBuilders,
MuleContextBuilder muleContextBuilder)
Creates a new MuleContext using the
MuleContextBuilder provided and
configures it with the list of configuration builders. |
MuleContext |
createMuleContext(MuleContextBuilder muleContextBuilder)
Creates a new MuleContext using the
MuleContextBuilder provided. |
MuleContext createMuleContext() throws InitialisationException, ConfigurationException
MuleContext is one exists, otherwise a
new MuleContext instance is created with defaults.InitialisationExceptionConfigurationExceptionDefaultsConfigurationBuilder}MuleContext createMuleContext(MuleContextBuilder muleContextBuilder) throws InitialisationException, ConfigurationException
MuleContextBuilder provided.configurationBuilder - InitialisationExceptionConfigurationExceptionMuleContext createMuleContext(ConfigurationBuilder configurationBuilder) throws InitialisationException, ConfigurationException
configurationBuilder - InitialisationExceptionConfigurationExceptionMuleContext createMuleContext(ConfigurationBuilder configurationBuilder, MuleContextBuilder muleContextBuilder) throws InitialisationException, ConfigurationException
MuleContextBuilder provided and
configures it with the list of configuration builder and c onfigures it with
configurationBuilderconfigurationBuilder - InitialisationExceptionConfigurationExceptionMuleContext createMuleContext(List configurationBuilders, MuleContextBuilder muleContextBuilder) throws InitialisationException, ConfigurationException
MuleContextBuilder provided and
configures it with the list of configuration builders. Configuration builders
will be invoked in the same or as provided in the List.configurationBuilder - InitialisationExceptionConfigurationExceptionCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.