hosain-fouad / dotify

Automatically exported from code.google.com/p/dotify
0 stars 3 forks source link

Make factory implementations context aware instead of passing references #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, references are passed to factory implementations from the factory 
maker in a non-OSGi context in order to avoid calling newInstance in an OSGi 
context. The drawback is that the factory maker must know which objects each 
implementation needs. This can be avoided if the implementations are made aware 
of the current context (OSGi or not).

Original issue reported on code.google.com by joel.hak...@mtm.se on 6 Nov 2014 at 5:46