Unable to see method name(s) populated in JavaGlobalInstance Shared Resource even if the Java class is available in the project.

Unable to see method name(s) populated in JavaGlobalInstance Shared Resource even if the Java class is available in the project.

book

Article ID: KB0094069

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:

Check if your Java class has any constructors defined. The behavior is expected if your class does not have  any constructors. 


Add the constructor(s) as needed.


See the following sample Java class with constructor.


+++


package com.example;


public class Dummy {

int a;


public Dummy(int inp)

 {

   System.out.println("In constructor");

   this.setA(inp);

 }

public int getA() {

return a;

}


public void setA(int a) {

this.a = a;

}



}

+++

Issue/Introduction

Unable to see method name(s) populated in JavaGlobalInstance Shared Resource even if the Java class is available in the project.

Additional Information

 https://docs.tibco.com/pub/activematrix_businessworks/6.3.2/doc/html/GUID-1D40A6A6-4DB9-4F80-BC93-498AE9634E83.htm