public interface ConfigurationBuilder
ConfigurationBuilder
is used to configure a Mule instance,
represented by a MuleContext instance. Multiple ConfigurationBuilder's can be used
to configure a single mule instance with each ConfigurationBuilder doing one of
more of the following:
Registy
Creation and registration of SecurityManager / TransactionManager / TransactionManagerFactory / QueueManager
and ThreadingProfile's. Unlike the runtime artifacts mule only uses a single instance of each of these and so if
multiple configuration builder create and register these artifacts only one will be used.
MuleConfiguration
and
ServerNotificationManager
Modifier and Type | Method and Description |
---|---|
void |
configure(MuleContext muleContext)
Will configure a MuleContext based on the configuration provided.
|
boolean |
isConfigured()
Indicate whether this ConfigurationBulder has been configured yet
|
void configure(MuleContext muleContext) throws ConfigurationException
ConfigurationBuilder
implementation as bean properties before this method
has been called.muleContext
- The current MuleContext
ConfigurationException
- if the configuration fails i.e. an object cannot be created or
initialised properlyboolean isConfigured()
true
if this ConfigurationBulder has been configured.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.