org.mule.config.builders
Class SimpleConfigurationBuilder

java.lang.Object
  extended by org.mule.config.builders.AbstractConfigurationBuilder
      extended by 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.


Field Summary
protected  Map objects
           
 
Fields inherited from class org.mule.config.builders.AbstractConfigurationBuilder
configured, logger
 
Constructor Summary
SimpleConfigurationBuilder(Map objects)
           
 
Method Summary
protected  void doConfigure(MuleContext muleContext)
          Will configure a MuleContext based on the configuration provided.
 
Methods inherited from class org.mule.config.builders.AbstractConfigurationBuilder
applyLifecycle, configure, isConfigured
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objects

protected Map objects
Constructor Detail

SimpleConfigurationBuilder

public SimpleConfigurationBuilder(Map objects)
Method Detail

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-2014 MuleSoft, Inc.. All Rights Reserved.