Hi Christian
On 16/11/12 06:59, Christian Schneider wrote:
Currently we manually use spring-dm to read the IntentMap from the dsw
bundle as well as from bundles implementing or using OSGi services.
This has some drawbacks:
- As IntentMap is defined in the dsw bundle the user bundles depend on
On 11/16/2012 11:33 AM, Sergey Beryozkin wrote:
Hi Christian
I'm not sure anyone uses custom intents, there were some ideas from
users on how to get custom intents, suggesting how it can be done
based on the existing approach but it was too difficult as far as I
recall. So what you suggest
Contributing new intents using the whiteboard pattern. Sounds like an
interesting idea!
One thing you could think of is to create a separate bundle that provides
backward compatibility. I mean it could read the intent-map.xml (using any
XML parser, doesn't have to be Spring) as we have it today
I also thought about this. We could have a bundle that reads intent xmls
using spring dm. With a simple parse I think it would not work as we
need the
cxf namespaces to create features from the xml definitions. So we would
not get rid of spring dm.
I think the effort to convert an existing
Currently we manually use spring-dm to read the IntentMap from the dsw
bundle as well as from bundles implementing or using OSGi services.
This has some drawbacks:
- As IntentMap is defined in the dsw bundle the user bundles depend on
the dsw bundle
- User bundles and dsw bundle depend on