Share same class instance between some modules within the same plugin?

Dennis Meins February 26, 2018

Hi everyone,

I need to share data and states between some moduls within the same plugin.

I have a webpanel and a webwork module. And I will also add a JobRunner component.

Now I need a class instance (i.e. singleton) which can be reached from every loaded module, to shared the data and states between them.

Or is it possible to call a public function of the existing webpanel module instance directly from a webwork module?

Can you please give me some hints or examples what I have to do?

Thanks.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events