/** * Initializes AmsUtil class. shall only be called from MIDletSuiteLoader's main() in MVM AMS * isolate or in SVM main isolate. No need in security checks since it is package private method. * * @param theMIDletProxyList MIDletController's container * @param theMidletControllerEventProducer utility to send events */ static void initClass( MIDletProxyList theMIDletProxyList, MIDletControllerEventProducer theMidletControllerEventProducer) { midletProxyList = theMIDletProxyList; midletControllerEventProducer = theMidletControllerEventProducer; IsolateMonitor.initClass(theMIDletProxyList); StartMIDletMonitor.initClass(theMIDletProxyList); }
/** Performs this classes function. */ public void run() { isolate.waitForExit(); parent.notifyListeners(midlet.getSuiteId(), midlet.getClassName()); }