accessing the internal workings of the dotnetproxy. For example, it can be used to obtain the object database and inspect what objects exist, their reference counts, etc. From a basic developer perspective, this bridge bean only has one method which needs considering, and that is the method which turns tracing on and off. For example:
    JavaNetBridgeBean bean = Oaa2JavaInterop.getSingleton().getJavaNetBridgeBean();
    bean.setTraceMethods(false);
If setTraceMethods is called with a "true" value, then the dotnetproxy will print information every time a java method is invoked. This can be very verbose, and is intended only for debugging purposes.

The remaining API is almost equivalent to the OAA2 Java API with the following differences:

In addition to the OAA classes, basic java.lang and java.util classes are also generated. They include:

Back To Top

Callbacks

As mentioned, callback stubs are provided for interfaces. Suppose a Java method has a arameter which is an interface, and you want to implement that interface in .NET? By conventional means, it is necessary to implement that interface in .NET. However, this is not trivial because every Java interface that is generated also requires java object methods to be implemented, as well as underlying proxying code. `öQF1¿LÉõ_ö€€ Sï <e      `öQF1¿LÉõ_ö€€ Sï <e      `öQF1¿LÉõ_ö€€ Sï <e      `öQF1¿LÉõ_ö€€ Sï <e