Calling a Servoy Method From a Servoy Bean

Hi all,

Is it possible to call a Servoy method from a Bean, on an event call in the Bean, such as on the click of a button?

I have tried with implementing the IClientPlugin Interface with my Main Class of Bean and initialize the IClientPluginAccess object, with overriding the initialize() method of the IClientPlugin Interface. But, It seems that the IClientPluginAccess object couldn’t able to initialized. It is always returning null and throwing NullPointerException, when I am trying to call the executeMethod() method of the same, to execute a Servoy Function.

Am I missing something?? Please, advice.

NOTE: I am using Servoy 3.5.1 for this Bean.

Thanks,

Got the way by implementing the IServoyBeanFactory Interface.

Thanks!!