| java.lang.Object javax.microedition.midlet.MIDlet com.sun.midp.appmanager.MVMManager
MVMManager | public class MVMManager extends MIDlet implements MIDletProxyListListener,DisplayControllerListener,ApplicationManager(Code) | | This is an implementation of the ApplicationManager interface
for the MVM mode of the VM capable of running with
more than 1 midlet concurrently.
Application manager controls midlet life cycle:
- installs, updates and removes midlets/midlet suites
- launches, moves to foreground and terminates midlets
- displays info about a midlet/midlet suite
- shuts down the AMS system
|
Constructor Summary | |
public | MVMManager() Create and initialize a new MVMManager MIDlet. |
MVMManager | public MVMManager()(Code) | | Create and initialize a new MVMManager MIDlet.
|
destroyApp | public void destroyApp(boolean unconditional)(Code) | | Destroy midlet. Cleans up the resources used.
Parameters: unconditional - is ignored; this object alwaysdestroys itself when requested. |
exitMidlet | public void exitMidlet(RunningMIDletSuiteInfo suiteInfo)(Code) | | Exit the midlet with the passed in midlet suite info.
Parameters: suiteInfo - information for the midlet to be terminated |
installSuite | public void installSuite()(Code) | | Discover and install a suite.
|
launchCaManager | public void launchCaManager()(Code) | | Launch the CA manager.
|
launchSuite | public void launchSuite(RunningMIDletSuiteInfo suiteInfo, String midletToRun)(Code) | | Launches a suite.
Parameters: suiteInfo - information for suite to launch Parameters: midletToRun - class name of the MIDlet to launch |
midletAdded | public void midletAdded(MIDletProxy midlet)(Code) | | Called when a MIDlet is added to the list.
Parameters: midlet - The proxy of the MIDlet being added |
midletRemoved | public void midletRemoved(MIDletProxy midlet)(Code) | | Called when a MIDlet is removed from the list.
Parameters: midlet - The proxy of the removed MIDlet |
midletStartError | public void midletStartError(int externalAppId, int suiteId, String className, int errorCode, String errorDetails)(Code) | | Called when error occurred while starting a MIDlet object.
Parameters: externalAppId - ID assigned by the external application manager Parameters: suiteId - Suite ID of the MIDlet Parameters: className - Class name of the MIDlet Parameters: errorCode - start error code Parameters: errorDetails - start error details |
midletUpdated | public void midletUpdated(MIDletProxy midlet, int fieldId)(Code) | | Called when the state of a MIDlet in the list is updated.
Parameters: midlet - The proxy of the MIDlet that was updated Parameters: fieldId - code for which field of the proxy was updated |
moveToForeground | public void moveToForeground(RunningMIDletSuiteInfo suiteInfo)(Code) | | Bring the midlet with the passed in midlet suite info to the
foreground.
Parameters: suiteInfo - information for the midlet to be put to foreground |
pauseApp | public void pauseApp()(Code) | | Pause; there are no resources that need to be released.
|
selectForeground | public void selectForeground(boolean onlyFromLaunchedList)(Code) | | Called when going to select midlet to
bring it to foreground.
Parameters: onlyFromLaunched - true if midlet shouldbe selected from the list of already launched midlets,if false then possibility to launch midlet is needed. |
shutDown | public void shutDown()(Code) | | Shut down the system
|
startApp | public void startApp()(Code) | | Start app; there is nothing that needs to be done at start up.
|
updateSuite | public void updateSuite(RunningMIDletSuiteInfo suiteInfo)(Code) | | Update a suite.
Parameters: suiteInfo - information for suite to update |
|
|