Re: [osgi-dev] Help validating pattern

2018-08-12 Thread David Leangen via osgi-dev
Hi Alain, >> Since you are annotating classes that are generated, does the generator has >> some configurability? > Yes, it is our own. Ok, great! That will make things easier. >> Is it possible for you to instead generate configurations? The config could >> be a properties file, a JSON, or

Re: [osgi-dev] Help validating pattern

2018-08-12 Thread Alain Picard via osgi-dev
David, You have me lost a bit, See inline for comments/questions Thanks for your insight Alain On Sun, Aug 12, 2018 at 5:26 PM David Leangen wrote: > > Hi Alain, > > Since you are annotating classes that are generated, does the generator > has some configurability? > Yes, it is our own. Is

Re: [osgi-dev] Help validating pattern

2018-08-12 Thread David Leangen via osgi-dev
Hi Alain, Since you are annotating classes that are generated, does the generator has some configurability? Is it possible for you to instead generate configurations? The config could be a properties file, a JSON, or even a class if necessary. If this is possible, you could for instance use

Re: [osgi-dev] Help validating pattern

2018-08-12 Thread Alain Picard via osgi-dev
Just realized that I could have applied the same pattern to the BaseMapData and not use the implementation class there either. Alain On Sun, Aug 12, 2018 at 8:58 AM Alain Picard wrote: > To David, > > Your comment got me thinking some more about this. And given that I have > about 25 different

Re: [osgi-dev] Help validating pattern

2018-08-12 Thread Alain Picard via osgi-dev
To David, Your comment got me thinking some more about this. And given that I have about 25 different variations and each has 3 variants, that would mean introducing somewhere like 75 "marker" interfaces. Here's what I did: A number of key classes are generated and sometimes partly modified by

Re: [osgi-dev] Help validating pattern

2018-08-12 Thread David Leangen via osgi-dev
Hi Alain, Maybe there is a way of having 25 different interfaces in your API instead? Or, if they are private, maybe you don’t even need to use services? Are you able to share your code? Would be helpful to have a little more information. Cheers, =David > On Aug 12, 2018, at 6:58, Alain