org.mule.config.builders
Class SimpleConfigurationBuilder
java.lang.Object
org.mule.config.builders.AbstractConfigurationBuilder
org.mule.config.builders.SimpleConfigurationBuilder
- All Implemented Interfaces:
- ConfigurationBuilder
public class SimpleConfigurationBuilder
- extends AbstractConfigurationBuilder
This simple ConfgurationBuilder implementation. This is useful for registering any
Map of objects with the Registry
via the ConfigurationBuilder
interface. This is useful for example for the registration of "startup properties"
which are provided at startup and then used to fill "property placeholders" in
other configuration mechanisms such as XML.
Method Summary |
protected void |
doConfigure(MuleContext muleContext)
Will configure a MuleContext based on the configuration provided. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objects
protected Map objects
SimpleConfigurationBuilder
public SimpleConfigurationBuilder(Map objects)
doConfigure
protected void doConfigure(MuleContext muleContext)
throws Exception
- Description copied from class:
AbstractConfigurationBuilder
- Will configure a MuleContext based on the configuration provided. The configuration will be set on the
ConfigurationBuilder
implementation as bean properties before this method
has been called.
- Specified by:
doConfigure
in class AbstractConfigurationBuilder
- Parameters:
muleContext
- The current MuleContext
- Throws:
ConfigurationException
- if the configuration fails i.e. an object cannot be created or
initialised properly
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.