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

How to bind global services into Services? #232

Closed
Zhuinden opened this issue Feb 16, 2017 · 1 comment
Closed

How to bind global services into Services? #232

Zhuinden opened this issue Feb 16, 2017 · 1 comment

Comments

@Zhuinden
Copy link

The root services receives an empty map; does that mean you need a ServiceFactory that binds a static service instance into each class?

But if so, then how do you bind in the Mortar Root Scope to be accessible as or by Services?

@Zhuinden
Copy link
Author

You don't. getSystemService() calls global mortar root scope if services are not found in services.

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

No branches or pull requests

1 participant