Exactly like that :) On Thu, Oct 20, 2011 at 12:34 AM, Ioannis Canellos <[email protected]>wrote:
> I am not sure if I understand it correctly. So please correct me if I am > wrong. > > You mean that you want to keep Cache as a singleton, but maybe add > something > like CacheInstance which will not be a singleton? > > If I understand it right, we could then have Cache use a static reference > to > Cache instance and do the work, right? > > This is similar to how Hazelcast works and yes it would work for OSGi. > -- > *Ioannis Canellos* > * > FuseSource <http://fusesource.com> > > ** > Blog: http://iocanel.blogspot.com > ** > Apache Karaf <http://karaf.apache.org/> Committer & PMC > Apache ServiceMix <http://servicemix.apache.org/> Committer > Apache Gora <http://incubator.apache.org/gora/> Committer > * >
