Hi Sascha,

You need your own ObjectFactory to provide an adapter implementation. There is no configuration or other magic. This feature has been added but never really fleshes out. We have never implemented, for example, a registry for adapters.


- Florian


Hello together,

I am currently trying to build my own CMIS EMF (Eclipse Modeling
Framework) model for building a single-sourced Eclipse 4 RCP / RAP
CMIS Client.

After some research I was glad that next to the ObjectFactory SPI
OpenCMIS has a getAdapter() method at the top level CmisObject.
I think the intended usage is to implement an own ObjectFactory and
convert the CMIS domain objects to those with a proper getAdapter()
implementation.
In my case the provided adapter is an own EMF model class which I can
use for Content Provider on the GUI.

Is this correct?
Or is there another way to provide an impl for getAdapter()?

tia

Cheers
Sascha

Reply via email to