Re: [Dev] Issue when saving and retrieving the login details in static variables in separate plug-in project for dynamic schema generation.

2016-11-23 Thread Hariprasath Thanarajah
Hi All,

I have discussed the issue in off-line with Malaka, Viraj and Kathees and I
have found the root cause for this issue. The issue because of the object
creation using Singleton pattern. Thank you for your suggestions.

On Wed, Nov 23, 2016 at 11:41 AM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi All,
>
> I am working on dynamic schema generation for dynamic connector
> operations. For that, we create a separate plugin project with dialog boxes
> for every operation and in the shell we need to give the login details to
> connect with salesforce to generate the schema. We have finished the
> implementation but in the current implementation if we need multiple
> dynamic schema generations for connector operations then the user need to
> give the login details every time. But we need to automate this if we need
> to generate the subsequent dynamic schema generation.
>
> For that, we keep the login details in the static variables in the
> separate plugin and check whether the details exists or not when clicking
> the button(here login). When I do like this the dialog for the particular
> operation has not been created. I guess the dialog creation part is in the
>  dev-tooling code and from that we create the shell for every operation.
> So that we can't access those static variables from the non-static block.
> Can you please guide me on this and correct me if I am wrong?
>
> --
>
>
> *Thank you and Regards,**Hariprasath Thanarajah*
> Associate Software Engineer | WSO2
> E: haripras...@wso2.com
> M: +94752806528, 0777216903
> Blog: hariwso2.blogspot.com
>
> Skype : hariss636
> LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660
>
> WSO2, Inc.
> lean . enterprise . middleware
>
> https://wso2.com/signature
> http://wso2.com/about/team/hariprashath-thanarajah/
>



-- 


*Thank you and Regards,**Hariprasath Thanarajah*
Associate Software Engineer | WSO2
E: haripras...@wso2.com
M: +94752806528, 0777216903
Blog: hariwso2.blogspot.com

Skype : hariss636
LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660

WSO2, Inc.
lean . enterprise . middleware

https://wso2.com/signature
http://wso2.com/about/team/hariprashath-thanarajah/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue when saving and retrieving the login details in static variables in separate plug-in project for dynamic schema generation.

2016-11-22 Thread Hariprasath Thanarajah
Hi All,

I am working on dynamic schema generation for dynamic connector operations.
For that, we create a separate plugin project with dialog boxes for every
operation and in the shell we need to give the login details to connect
with salesforce to generate the schema. We have finished the implementation
but in the current implementation if we need multiple dynamic schema
generations for connector operations then the user need to give the login
details every time. But we need to automate this if we need to generate the
subsequent dynamic schema generation.

For that, we keep the login details in the static variables in the separate
plugin and check whether the details exists or not when clicking the
button(here login). When I do like this the dialog for the particular
operation has not been created. I guess the dialog creation part is in the
dev-tooling code and from that we create the shell for every operation. So
that we can't access those static variables from the non-static block. Can
you please guide me on this and correct me if I am wrong?

-- 


*Thank you and Regards,**Hariprasath Thanarajah*
Associate Software Engineer | WSO2
E: haripras...@wso2.com
M: +94752806528, 0777216903
Blog: hariwso2.blogspot.com

Skype : hariss636
LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660

WSO2, Inc.
lean . enterprise . middleware

https://wso2.com/signature
http://wso2.com/about/team/hariprashath-thanarajah/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev