com.jniwrapper.win32.automation
Class ComAppletHelper

java.lang.Object
  extended bycom.jniwrapper.util.AppletHelper
      extended bycom.jniwrapper.win32.automation.ComAppletHelper

public class ComAppletHelper
extends AppletHelper

This class is helper for Java applets that use JNIWrapper library.

You can call native functions from dll libraries and COM related functions after start of JNIWrapper library.

Since:
2.5

Constructor Summary
protected ComAppletHelper()
           
 
Method Summary
static AppletHelper getInstance()
           
 void start()
          Starts native resource collector and OleMessageLoop.
 void stop()
          Stops native resource collector and OleMessageLoop.
 
Methods inherited from class com.jniwrapper.util.AppletHelper
, init, init, loadLibrary, setInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComAppletHelper

protected ComAppletHelper()
Method Detail

getInstance

public static AppletHelper getInstance()

start

public void start()
Starts native resource collector and OleMessageLoop. You should call this method in the start() method of the applet that uses jniwrapper. This method must be called before using any other JNIWrapper classes.


stop

public void stop()
Stops native resource collector and OleMessageLoop. You should call this method in the stop() method of the applet that uses jniwrapper. This method must be called when no native resources are going to be allocated by the applet.