> On Dec 11, 2016, at 11:48 AM, Andrus Adamchik <[email protected]> wrote: > > 2. Automatic module loading via ServiceLoader mechanism. We have lots of > small modules now (eg. cayenne-java8). I want them to be included in > ServerRuntime automatically with no explicit DI code.
I just committed an implementation for this one, so that we have the whole long release cycle to play with it. Works very nicely actually. The following modules are currently auto-loadable: cayenne-crypto cayenne-dbsync cayenne-java8 cayenne-joda cayenne-project cayenne-server Auto-loading library is provided by cayenne-di. But it has to be explicitly invoked. Currently only ServerRuntimeBuilder can do it. We will also need to integrate it in the ROP client and the Modeler (and build tools?), which may be a bit more challenging, as all of those depend on cayenne-server. Will likely require module structure refactoring. Andrus
