|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.extras.spring.config.SpringConfigurationBuilder
public class SpringConfigurationBuilder
SpringConfigurationBuilder
Enables Mule to be loaded from as Spring
context. Multiple configuration files can be loaded from this builder (specified
as a comma-separated list) the files can be String Beans documents or Mule Xml
Documents or a combination of both. Any Mule Xml documents will be transformed at
run-time in to Spring Bean documents before the bean definitions are loaded. Make
sure that the DTD definitions for each of the document types are declared in the
documents.
Field Summary | |
---|---|
protected Log |
logger
|
Constructor Summary | |
---|---|
SpringConfigurationBuilder()
|
Method Summary | |
---|---|
UMOManager |
configure(ReaderResource[] configResources)
Will configure a UMOManager based on the configurations made available through Readers. |
UMOManager |
configure(ReaderResource[] configResources,
Properties startupProperties)
Will configure a UMOManager based on the configurations made available through Readers. |
UMOManager |
configure(String configResources)
Will configure a UMOManager based on the configuration file(s) provided. |
UMOManager |
configure(String configResources,
String startupPropertiesFile)
Will configure a UMOManager based on the configuration file(s) provided. |
MuleApplicationContext |
getMuleApplicationContext()
|
boolean |
isConfigured()
Indicate whether this ConfigurationBulder has been configured yet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final transient Log logger
Constructor Detail |
---|
public SpringConfigurationBuilder()
Method Detail |
---|
public UMOManager configure(ReaderResource[] configResources) throws ConfigurationException
configResources
- an array of Readers
ConfigurationException
public UMOManager configure(ReaderResource[] configResources, Properties startupProperties) throws ConfigurationException
configure
in interface ConfigurationBuilder
configResources
- an array of ReadersstartupProperties
- - Optional properties to be set before configuring
the Mule server. This is useful for managing different environments
(dev, test, production)
ConfigurationException
public UMOManager configure(String configResources) throws ConfigurationException
ConfigurationBuilder
configure
in interface ConfigurationBuilder
configResources
- a comma separated list of configuration files to load,
this should be accessible on the classpath or filesystem
ConfigurationException
public UMOManager configure(String configResources, String startupPropertiesFile) throws ConfigurationException
ConfigurationBuilder
configure
in interface ConfigurationBuilder
configResources
- - A comma-separated list of configuration files to
load, these should be accessible on the classpath or filesystemstartupPropertiesFile
- - An optional file containing startup properties.
This is useful for managing different environments (dev, test,
production)
ConfigurationException
public boolean isConfigured()
isConfigured
in interface ConfigurationBuilder
true
if this ConfigurationBulder has been configuredpublic MuleApplicationContext getMuleApplicationContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |