How send data from Javascript to Java using Plugin Red Folder?

I’m using red folder plugin to start a background service, but i need send a object of params to config the method in Java level.

How i can send this object?

i got same situation here,how can i send data to custom plugin which is in java