|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.extras.spring.config.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.
| 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 configResource,
String startupPropertiesFile)
Will configure a UMOManager based on the configuration file(s) provided. |
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 |
| Constructor Detail |
public SpringConfigurationBuilder()
| Method Detail |
public UMOManager configure(ReaderResource[] configResources)
throws ConfigurationException
configure in interface ConfigurationBuilderconfigResources - an array of Readers
ConfigurationException
public UMOManager configure(ReaderResource[] configResources,
Properties startupProperties)
throws ConfigurationException
configure in interface ConfigurationBuilderconfigResources - 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 ConfigurationBuilderconfigResources - a comma separated list of configuration files to load,
this should be accessible on the classpath or filesystem
ConfigurationException
public UMOManager configure(String configResource,
String startupPropertiesFile)
throws ConfigurationException
ConfigurationBuilder
configure in interface ConfigurationBuilderconfigResource - - 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)
ConfigurationExceptionpublic boolean isConfigured()
isConfigured in interface ConfigurationBuildertrue if this ConfigurationBulder has been configured
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||