Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call-Method Command in a Module Should Check for Service in Parent if No Module-Specific ColdSpring Config File is Found #46

Open
mpwoodward opened this issue Mar 1, 2012 · 0 comments

Comments

@mpwoodward
Copy link

(Moved from http://trac.mach-ii.com/machii/ticket/694)

Please see

http://www.iterateme.com/blog/index.cfm/2010/4/16/MachII-Modules-Dont-Automagically-Inherit-ColdSpring-Configuration#comments

It would be helpful if the framework could check the parent ColdSpring? config for a service that is called via the call-method command if a module-specific ColdSpring? config file doesn't exist.

If you are creating a module that has no ColdSpring?-managed objects of its own, but do want to use ColdSpring?-managed objects in the parent application, you still have to set up a basic ColdSpring? Mach-II property in your module, and point it to an (essentially) empty ColdSpring? config file. If the framework could check for the service referenced in the call-method command in the parent app, then there would be no need for this.

hanged 18 months ago by peterjfarrell

Brian, I hope you don't mind but I adapted your blog post into the wiki to explain the problem on the call-method page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant