VCF Automation Blog

from Stefan Schnell

Use Java Classes without Shutter File


These days I read an interesting old post about the com.vmware.scripting.javascript.allow-native-object property. Ilian Iliev wrotes: "This property is used to filter Java classes that are visible to scripts." The following logic shows that when this property is set to true, the ClassShutter has no effect. So I set this property in the Control Center and tested it. As far as I can tell, all classes are accepted when this property is set to true. This is a great thing, because on this way you can save to allow classes exactly, e.g. in test environments. That makes it much easier.

vcf automation control center property setting

com.vmware.scripting.javascript.allow-native-object