Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re[2]: [stp-dev] Proposal for a generic validation framework

Hi David!

    Unfortunately our proposal document does not contain
    clear description regarding to using OSGi background.
    Yes, you are correct OSGi services is more applicable
    for such purpose. Furthermore we already have sample
    implementation of OSGi-based Validation Framework
    which is used OSGi services in background. I hope we
    will provide our sample to Eclipse community soon.
    And the main idea of our validation framework API
    (with factory approach) is to provide general API
    knowing nothing about platform specific implementation
    (regardless to OSGi or another type of background runtime).

    
Monday, February 4, 2008, 12:36:27 PM, you wrote:

DB> Hi Jerry,

DB> One thought that I had while reading the proposed document was that, 
DB> since this is called an OSGi-based framework you might consider using 
DB> OSGi Services instead of factories.
DB> With OSGi Services any available object implementating a particular 
DB> interface can register itself with the OSGi Service Registry.

DB> So rather than calling osgiValidationFactory.getAvailableValidators() 
DB> you would simply ask the OSGi Service Registry for all the services 
DB> registered to implement the IValidator interface.
DB> The same could be done with the Validation Runner instances.

DB> Services are registered by bundles that want to expose them. In a sense
DB> they are similar to Eclipse Extension points, but since this is called
DB> an OSGi-based framework, use of OSGi Services might fit better; 
DB> extension points are not part of OSGi...

DB> Just a thought,

DB> David

DB> Gerald Preissler wrote:
>> Hi all,
>>
>> we've just created a wiki page with a proposal for a generic validation
>> framework at http://wiki.eclipse.org/STP_Validation_Framework. We believe
>> that this topic is of interest for quite some people and hope for a lively
>> discussion. Please take a look and tell us what you think.
>>
>> Best regards
>>
>>   Jerry Preissler
>>
>>   

DB> ----------------------------
DB> IONA Technologies PLC (registered in Ireland)
DB> Registered Number: 171387
DB> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland



-- 
Best regards,

    Alex                            mailto:atelesh@xxxxxxxxxxx



Back to the top