Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Validating A Concept
Validating A Concept [message #459915] Fri, 08 December 2006 11:53 Go to next message
Eclipse UserFriend
Getting the plugin dependency idea in my head. I have plugin A that needs
functionality in B. Specifically I would like A to call methods on B to
supply business functionality. Now it seems that with extensions and
extension points I have IOC capability (aka Spring) in the UI. So I wold
specify an extension point in A and in B define that B depends on A and
provide an extension to the point defined in A?


John
Re: Validating A Concept [message #459927 is a reply to message #459915] Fri, 08 December 2006 17:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

John wrote:
> Getting the plugin dependency idea in my head. I have plugin A that
> needs functionality in B. Specifically I would like A to call methods on
> B to supply business functionality. Now it seems that with extensions
> and extension points I have IOC capability (aka Spring) in the UI. So I
> wold specify an extension point in A and in B define that B depends on A
> and provide an extension to the point defined in A?
>
>
> John
>

If A will call methods defined in B, then A depends on B. B should be
where the extension point is defined and A should implement the
extension point.
Re: Validating A Concept [message #459969 is a reply to message #459927] Sat, 09 December 2006 07:08 Go to previous message
Eclipse UserFriend
David Wegener schrieb:
> John wrote:
>> Getting the plugin dependency idea in my head. I have plugin A that
>> needs functionality in B. Specifically I would like A to call methods
>> on B to supply business functionality. Now it seems that with
>> extensions and extension points I have IOC capability (aka Spring) in
>> the UI. So I wold specify an extension point in A and in B define that
>> B depends on A and provide an extension to the point defined in A?
>>
>>
>> John
>>
>
> If A will call methods defined in B, then A depends on B. B should be
> where the extension point is defined and A should implement the
> extension point.

What John wrote could be completly valid. It depends on what he is about
to do.

If B provides its business functionality in the extension (implements
some interface defined in A) then A could call methods of this interface
implementation in B without depending on B.

With A depending on B there would not neccessarily be a need for an
extension point. A could just call methods of B.

Regards,
Jan
Previous Topic:Webstart and DerbyDB : class not found
Next Topic:Classpath during build with plugin
Goto Forum:
  


Current Time: Sat Mar 15 17:45:50 EDT 2025

Powered by FUDForum. Page generated in 0.04014 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top