Jigsaw has the notion of incorportating the service-loader Java arch in modularity, by letting modules declare which interfaces (service) they expose, and which implementations they provide, and allowing others to depend on any implementation of this interface.
Not sure if that's something we want to support in Ceylon or if we have another plan at providing this feature, but perhaps it's worth looking into it. Also, perhaps we will need to support some similar abstraction even if just for interop (using Java services or providing implementations of Java services).
Jigsaw has the notion of incorportating the
service-loader
Java arch in modularity, by letting modules declare which interfaces (service) they expose, and which implementations they provide, and allowing others to depend on any implementation of this interface.Not sure if that's something we want to support in Ceylon or if we have another plan at providing this feature, but perhaps it's worth looking into it. Also, perhaps we will need to support some similar abstraction even if just for interop (using Java services or providing implementations of Java services).