org.mule.config.spring.hotdeploy
Class ReloadableBuilder
java.lang.Object
org.mule.config.builders.AbstractConfigurationBuilder
org.mule.config.builders.AbstractResourceConfigurationBuilder
org.mule.config.spring.SpringXmlConfigurationBuilder
org.mule.config.spring.hotdeploy.ReloadableBuilder
- All Implemented Interfaces:
- ConfigurationBuilder
public class ReloadableBuilder
- extends SpringXmlConfigurationBuilder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASSLOADER_ROOT
protected static final ClassLoader CLASSLOADER_ROOT
- A logical root for this application.
CLASSPATH_EMPTY
protected static final URL[] CLASSPATH_EMPTY
logger
protected final transient Log logger
monitoredResource
protected File monitoredResource
RELOAD_INTERVAL_MS
protected static final int RELOAD_INTERVAL_MS
- See Also:
- Constant Field Values
ReloadableBuilder
public ReloadableBuilder(ConfigResource[] configResources)
ReloadableBuilder
public ReloadableBuilder(String s)
throws ConfigurationException
- Throws:
ConfigurationException
ReloadableBuilder
public ReloadableBuilder(String[] strings)
throws ConfigurationException
- Throws:
ConfigurationException
configure
public void configure(MuleContext muleContext)
throws ConfigurationException
- Description copied from class:
AbstractResourceConfigurationBuilder
- Override to check for existence of configResouce before invocation, and set
resources n configuration afterwards.
- Specified by:
configure in interface ConfigurationBuilder- Overrides:
configure in class AbstractResourceConfigurationBuilder
- Parameters:
muleContext - The current MuleContext
- Throws:
ConfigurationException - if the configuration fails i.e. an object cannot be created or
initialised properly
scheduleConfigMonitor
protected void scheduleConfigMonitor(FileWatcher watcher)
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.
- Overrides:
doConfigure in class SpringXmlConfigurationBuilder
- Parameters:
muleContext - The current MuleContext
- Throws:
ConfigurationException - if the configuration fails i.e. an object cannot be created or
initialised properly
Exception
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.