|ModuleFactoryDelegate Question [message #181041]
||Fri, 06 October 2006 12:23
| Bruno Wassermann
Registered: July 2009
I have implemented a ModuleFactoryDelegate to discover BPEL modules.
I found that the code gets called (by the server framework) upon the first
instance of a user opening the 'Add/Remove...' wizard on a server and that
it presents the correct list of modules. However, when a new module gets
created afterwards in the same workbench session, the module factory
delegate code does not get called anymore and hence that particular module
is not available for addition to the server until the workbench session is
restarted. New module instances do not get discovered.
Am I missing something here? Is there something my code needs to do when
creating a new module instance so that the framework can call the module
factory delegate again? Or is this maybe a known issue (that I haven't been
able to find any info on?)
|Re: ModuleFactoryDelegate Question [message #182665 is a reply to message #181340]
||Tue, 14 November 2006 05:52
Originally posted by: contact.noelios.com|
I have encountered the same issue as Bruno. The only solution I see now
is to implement my own
org.eclipse.core.resources.IResourceChangeListener in my modules factory.
IMO, the Server framework should support the update of modules not based
Bruno Wassermann a écrit :
> As there was no reply to this question, let me rephrase it.
> ProjectModuleFactoryDelegate has a handleGlobalProjectChange(), which takes
> care of calling ModuleFactory.clearModuleCache() and thereby ensures that
> the user is presented with an up-to-date list of modules in the Add and
> Remove Projects... wizard. Changes to projects are detected in
> ResourceManager, which invokes handleGlobalProjectChange(). This works fine
> for project modules.
> In my case though modules are simply BPEL files, not entire projects. My
> question is how I can achieve the same behaviour that we get for projects
> that have a delta. How can I detect and react to changes occurring to files
> (not projects) in the same way as can currently be done for projects?
> Any help would be very much appreciated!!!
> -- Bruno
Powered by FUDForum
. Page generated in 0.02575 seconds