> -----Original Message----- > From: Richard S. Hall [mailto:[EMAIL PROTECTED] > Sent: Friday, August 26, 2005 2:40 PM > To: oscar-dev@incubator.apache.org > Subject: Re: Mavenization > > The simplest example is that some of the classes in osgi.jar > must create instances of Filter, which is defined as an > interface in osgi.jar...thus they have to rely on the > framework's impl class, which is not known. >
Is it not possible for code in osgi to use some kind of FilterFactory pattern in order to get around compile-time circular dependencies back into the implementation code? At runtime the Filter factory would provide the code with a legitimate concrete implementation of the filter and all would be well.