Hi there,

I hope I'm not duplicating someone else's work, but I've started to add
OSGi metadata and other OSGi-related wiring (starting with the client),
so OpenCMIS can eventually be deployed in an OSGi container. I'm happy
to offer these changes to the project if there's interest.

The problem I'm facing right now is that the SessionFactory interface
and the SessionFactoryImpl class are both in the same package:
org.apache.chemistry.opencmis.client
That creates a collision which makes it impossible to consume a
SessionFactory service published to the OSGi service registry, since an
internal compatibility check fails and no service is returned.

The problem would easily be solved by moving SessionFactoryImpl to the
"runtime" subpackage. But I must also say that I don't really see the
point to have SessionFactory alone in the "client" package when all the
other related interfaces are in the "api" subpackage. I'd be happy,
though, if we could at least move SessionFactoryImpl as indicated above.

WDYT?

Thanks,
Jeremias Maerki

Reply via email to