From the documentation I see by default classes from java.util.* available for vCO Java Script Engine.
I am using vCO 5.1 appliance version.
Can any one post an example on how to use HashMap or ArrayList directly from vCO java script.
I tried this kind of pattern. But no use.
var aList = new ArrayList();
Appreciate any help.
Yes, I am aware of Array() Class.
But I am trying to see if I can directly use any class from java.util.* package. From the documentation that seems to be possible. But there is no sign of any simple example.
You can check following post https://communities.vmware.com/message/1808053
Rhino engine was updated in the vCO 5.5 but i believe it is still valid.
unfortunately I am not able to test it now...
Beside limitations introduced by Rhino engine itself there is specific configuration file controlling access to Java classes..You can find more details here vSphere Documentation Center