Contribute an OSGI service or extension point that can be queried from command line utilities too [message #93446] |
Tue, 31 July 2007 14:54  |
Eclipse User |
|
|
|
Hi,
Not sure if this is the correct forum. Please re-direct otherwise.
I have a data file that I will read and create a data model for display in
an Eclipse View. Then I also have a generic validation framework where I
have defined an extension point, so that other can contribute classes to
validatie the data model loaded from the data file. Unfortunately, all this
works fine when I am within the Eclipse UI, since the Eclipse registry that
allows me to query for all extensions to my extension point is setup.
But I would also like to be able to call the same validations outside of
eclipse, in a command line utility.
I am looking to write a validation plugin such that I can define an
extension point or a OSGI service so that others can also contribute plugins
with additional validations. My framework validation plugin should be able
to gather all validation classes contributed to validate a particular data
model. Can you advice me if what I need is OSGI services? Are there any
other services or extensions that I can use to achieve this - to be able to
query the contributed extensions both inside eclipse and from command line
utlitilies.
Thanks,
Rashmy
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03203 seconds