Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | - |
Not Applicable | - |
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;
}
}
+++