On Wed, Jan 13, 2010 at 3:18 PM, Simon Laws <[email protected]> wrote: >> >> Ah yes i see. Really the SCAClientFactory defaultFactory static should >> be the factory class _name_ not an instance so that >> SCAClientFactory.newInstance really does return a new instance. >> >> ...ant >> > > > The thing is though, even if I had the name of the factory instance to > instantiate in OSGi I don't have access to it from the app classloader > in order to load it. > > Simon >
Perhaps what it should have is a pluggable SCAClientFactoryFinder eg instead of a static default factory you can set a static with a custom SCAClientFactoryFinder impl that gets used by the SCAClientFactory. Which ever, this does seem like a bug in the OASIS SCAClientFactory code. ...ant
