Aug 29th, 2006, 11:38 AM
RCP and plugins (e.g. dynamic Rules)
I would like to extend my RCP application. Therefore I have to add additional Rules, Forms and other objects...
At the moment I have a single RulesSource that is set as property to the DefaultApplicationServices.
Within my RulesSource implementation I have implemented and added all the Rules I need for my objects.
But now I want to add a "plugin" (additional jar) that also contains some Rules that should somehow be included into my RulesSource implementation. I don't want to add them into the existing configuration files but have one additional files for every plugin where all configurations concerning the plugin is done.
But I really don't know how I could add some additional Rules. What is the Spring way?
Netbeans uses a very interesting approach. There exists some sort of "repository" (a tree like structure) where the child nodes of a special node are interpreted in a "well-known" way. So I would add my custom Rules to a special node (e.g. located under "business/validation/rules"). Does anything similar exist in Spring?