Dashboard > Mule FAQ - Open Source ESB and Integration Platform > ... > Frequently Asked Questions (FAQ) > Using Spring Beans and Spring Application Context - Container Context
  Mule FAQ - Open Source ESB and Integration Platform Log In | Sign Up   View a printable version of the current page.  
  Using Spring Beans and Spring Application Context - Container Context

Added by Kynan Fraser , last edited by Kynan Fraser on Jun 20, 2007
Labels: 
(None)

You may decide to define a spring bean to contain some configuration (eg. JDBC configuration). You may then reference this configuration from both the mule configuration and from an implementation class.

The implementation class and the mule configuration may use different runtime classpaths. This means that referencing the spring bean from an absolute path or a relative path in the mule configuration may work but from the implementation class it will only use path's relative to its runtime classpath (typically the target classes folder for an eclipse project).

Copyright(c) CustomWare Asia Pacific Pty Ltd
Powered by Atlassian Confluence 2.7.3, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators