× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
funfun reported 2010-04-30T04:12:16Z  · last modified 2010-06-10T00:52:45Z

ADServer to bind its CQMailSystem singleton instance to the scripting environment to support mail queue open API


Dev
Fun Fun
funfun
QA
Niels Gron
NielsGron
Priority Major
Complexity Unknown
Component Open API - General
Version 09.0

I had mail queue open API working in the scripting environment in ADS.
In ADS, the mail queue instance seen by the scripting environment actually
is the mail queue singleton instance embedded in the ADS. During ADS boot time,
ADS will bind this sigleton instance to the scripting environment as follows:

(1)  Launch ADS
(2)    --> DataStudioBase.startUI()
(3)          --> ADSMailQueue.init();
(4)                --> CoreMailQueue.setMailSystem(_mailSystem);
       
The step (4) above, will bind the mail queue singleton instance (i.e. _mailSystem) created in ADS
to the mail queue open API implementation (i.e. CoreMailQueue). This is required in order to get
mail queue open API to work in ADS.

ADServer needs to do this bind as well in order to get mail queue open API work in ADServer,
i.e. after ADServer created its mail queue singleton instance, it needs to call
    CoreMailQueue.setMailSystem(ADServer_mail_queue_singleton_instance);

Can someone help and modify ADServer's code for this?

Thanks.

Issue #4020

Closed
Fixed
Resolved 2010-06-10T00:52:45Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017