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

Improve interoperability with Java #3

Open
3 tasks
whyoleg opened this issue Aug 14, 2024 · 0 comments
Open
3 tasks

Improve interoperability with Java #3

whyoleg opened this issue Aug 14, 2024 · 0 comments

Comments

@whyoleg
Copy link
Owner

whyoleg commented Aug 14, 2024

  • Allow to provide ClassLoader when loading services
  • Allow to get registered services via java.util.ServiceLoader directly without sweetspi.ServiceLoader
    • Because we allow to register objects, properties and functions as service providers, it might not be that easy
    • For @Service interface it's possible to just use delegation, for @Service abstract class it's not
    • decide if it should be possible to declare @ServiceProvider class
  • Allow to get services via sweetspi.ServiceLoader which were not registered via sweetspi (?)
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