Interface NoAutoScripting
public interface NoAutoScripting
{
}
When used in the implements clause of a class definition, this interface prevents the Microsoft Win32 VM for Java from including its own IDispatch implementation for the class. For example:
// A.func is exposed to scripting engines such as
// VB or VBScript, which operate on IDispatch
objects.
class A
{
public void func() {
...
}
}
// B.func is not exposed to scripting engines.
class B implements com.ms.com.AutoNoScripting
{
public void func() {
...
}
}